home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
99%
| dexvert
| Texinfo Document (document/texInfo)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX 2e document text
| default
| |
99%
| file
| TeX document text
| default
| |
98%
| file
| LaTeX document, ASCII text
| default
| |
100%
| TrID
| LaTeX 2e document (with rem)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 5c 69 66 66 61 6c | 73 65 0a 25 20 5e 5e 41 |% \iffal|se.% ^^A|
|00000010| 20 56 65 72 73 69 6f 6e | 20 61 6e 64 20 64 61 74 | Version| and dat|
|00000020| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 6e 65 |e inform|ation ne|
|00000030| 65 64 65 64 20 69 6e 20 | 64 6f 63 2d 20 61 6e 64 |eded in |doc- and|
|00000040| 20 63 6c 73 2d 66 69 6c | 65 73 3a 0a 5c 64 65 66 | cls-fil|es:.\def|
|00000050| 5c 66 69 6c 65 76 65 72 | 73 69 6f 6e 7b 33 2e 31 |\filever|sion{3.1|
|00000060| 33 7d 0a 5c 64 65 66 5c | 66 69 6c 65 64 61 74 65 |3}.\def\|filedate|
|00000070| 7b 31 39 39 34 2f 31 31 | 2f 31 30 7d 0a 25 0a 25 |{1994/11|/10}.%.%|
|00000080| 25 20 46 69 6c 65 3a 20 | 65 78 61 6d 2e 64 74 78 |% File: |exam.dtx|
|00000090| 20 43 6f 70 79 72 69 67 | 68 74 20 28 43 29 20 31 | Copyrig|ht (C) 1|
|000000a0| 39 39 33 2d 31 39 39 34 | 20 48 61 6e 73 20 76 61 |993-1994| Hans va|
|000000b0| 6e 20 64 65 72 20 4d 65 | 65 72 0a 25 0a 25 3c 2a |n der Me|er.%.%<*|
|000000c0| 64 72 69 76 65 72 3e 0a | 5c 64 6f 63 75 6d 65 6e |driver>.|\documen|
|000000d0| 74 63 6c 61 73 73 7b 6c | 74 78 64 6f 63 7d 0a 5c |tclass{l|txdoc}.\|
|000000e0| 49 66 46 69 6c 65 45 78 | 69 73 74 73 7b 65 78 61 |IfFileEx|ists{exa|
|000000f0| 6d 2e 63 6c 73 7d 7b 5c | 64 65 66 5c 6e 6f 65 78 |m.cls}{\|def\noex|
|00000100| 61 6d 70 6c 65 73 7b 7d | 7d 25 0a 20 20 20 20 7b |amples{}|}%. {|
|00000110| 5c 43 6c 61 73 73 57 61 | 72 6e 69 6e 67 4e 6f 4c |\ClassWa|rningNoL|
|00000120| 69 6e 65 7b 6c 74 78 64 | 6f 63 7d 7b 49 6e 73 74 |ine{ltxd|oc}{Inst|
|00000130| 61 6c 6c 20 65 78 61 6d | 2e 63 6c 73 20 66 69 72 |all exam|.cls fir|
|00000140| 73 74 7d 25 0a 20 20 20 | 20 5c 64 65 66 5c 6e 6f |st}%. | \def\no|
|00000150| 65 78 61 6d 70 6c 65 73 | 7b 5c 66 62 6f 78 7b 5c |examples|{\fbox{\|
|00000160| 68 75 67 65 20 49 6e 73 | 74 61 6c 6c 20 65 78 61 |huge Ins|tall exa|
|00000170| 6d 2e 63 6c 73 20 66 69 | 72 73 74 7d 5c 65 6e 64 |m.cls fi|rst}\end|
|00000180| 7b 64 6f 63 75 6d 65 6e | 74 7d 7d 7d 0a 20 20 20 |{documen|t}}}. |
|00000190| 20 5c 6d 61 6b 65 61 74 | 6c 65 74 74 65 72 0a 20 | \makeat|letter. |
|000001a0| 20 20 20 5c 6c 65 74 5c | 6f 6c 64 40 6d 61 6b 65 | \let\|old@make|
|000001b0| 74 69 74 6c 65 3d 5c 6d | 61 6b 65 74 69 74 6c 65 |title=\m|aketitle|
|000001c0| 0a 20 20 20 20 5c 6c 65 | 74 5c 4c 6f 61 64 43 6c |. \le|t\LoadCl|
|000001d0| 61 73 73 3d 5c 40 67 6f | 62 62 6c 65 0a 20 20 20 |ass=\@go|bble. |
|000001e0| 20 5c 69 6e 70 75 74 7b | 65 78 61 6d 2e 63 6c 73 | \input{|exam.cls|
|000001f0| 7d 25 0a 20 20 20 20 5c | 6c 65 74 5c 6d 61 6b 65 |}%. \|let\make|
|00000200| 74 69 74 6c 65 3d 5c 6f | 6c 64 40 6d 61 6b 65 74 |title=\o|ld@maket|
|00000210| 69 74 6c 65 0a 20 20 20 | 20 5c 6d 61 6b 65 61 74 |itle. | \makeat|
|00000220| 6f 74 68 65 72 0a 25 0a | 25 20 20 5e 5e 41 20 20 |other.%.|% ^^A |
|00000230| 57 65 20 64 6f 20 77 61 | 6e 74 20 61 6e 20 69 6e |We do wa|nt an in|
|00000240| 64 65 78 0a 25 0a 5c 43 | 6f 64 65 6c 69 6e 65 4e |dex.%.\C|odelineN|
|00000250| 75 6d 62 65 72 65 64 0a | 25 5c 45 6e 61 62 6c 65 |umbered.|%\Enable|
|00000260| 43 72 6f 73 73 72 65 66 | 73 20 5e 5e 41 20 63 6f |Crossref|s ^^A co|
|00000270| 6d 6d 65 6e 74 20 6f 75 | 74 20 69 66 20 69 6e 64 |mment ou|t if ind|
|00000280| 65 78 20 69 73 20 72 65 | 61 64 79 0a 5c 44 69 73 |ex is re|ady.\Dis|
|00000290| 61 62 6c 65 43 72 6f 73 | 73 72 65 66 73 0a 25 0a |ableCros|srefs.%.|
|000002a0| 25 20 20 5e 5e 41 20 20 | 57 65 20 61 6c 73 6f 20 |% ^^A |We also |
|000002b0| 77 61 6e 74 20 74 68 65 | 20 66 75 6c 6c 20 64 65 |want the| full de|
|000002c0| 74 61 69 6c 73 2e 0a 25 | 0a 5c 52 65 63 6f 72 64 |tails..%|.\Record|
|000002d0| 43 68 61 6e 67 65 73 20 | 20 20 20 20 20 20 20 5e |Changes | ^|
|000002e0| 5e 41 20 47 61 74 68 65 | 72 20 75 70 64 61 74 65 |^A Gathe|r update|
|000002f0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 0a 25 5c 4f | informa|tion.%\O|
|00000300| 6e 6c 79 44 65 73 63 72 | 69 70 74 69 6f 6e 5c 6e |nlyDescr|iption\n|
|00000310| 6f 66 69 6c 65 73 20 20 | 20 20 20 5e 5e 41 20 43 |ofiles | ^^A C|
|00000320| 6f 6d 6d 65 6e 74 20 6f | 75 74 20 66 6f 72 20 69 |omment o|ut for i|
|00000330| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 20 64 65 |mplement|ation de|
|00000340| 74 61 69 6c 73 0a 25 0a | 5c 62 65 67 69 6e 7b 64 |tails.%.|\begin{d|
|00000350| 6f 63 75 6d 65 6e 74 7d | 0a 5c 74 69 74 6c 65 7b |ocument}|.\title{|
|00000360| 54 68 65 20 5c 74 65 78 | 74 73 66 7b 65 78 61 6d |The \tex|tsf{exam|
|00000370| 7d 20 70 61 63 6b 61 67 | 65 5c 74 68 61 6e 6b 73 |} packag|e\thanks|
|00000380| 7b 54 68 69 73 20 66 69 | 6c 65 0a 20 20 20 20 20 |{This fi|le. |
|00000390| 20 20 20 68 61 73 20 76 | 65 72 73 69 6f 6e 20 6e | has v|ersion n|
|000003a0| 75 6d 62 65 72 20 5c 66 | 69 6c 65 76 65 72 73 69 |umber \f|ileversi|
|000003b0| 6f 6e 2c 20 6c 61 73 74 | 0a 20 20 20 20 20 20 20 |on, last|. |
|000003c0| 20 72 65 76 69 73 65 64 | 20 5c 66 69 6c 65 64 61 | revised| \fileda|
|000003d0| 74 65 2e 7d 7d 0a 5c 61 | 75 74 68 6f 72 7b 48 61 |te.}}.\a|uthor{Ha|
|000003e0| 6e 73 20 76 61 6e 20 64 | 65 72 20 4d 65 65 72 5c |ns van d|er Meer\|
|000003f0| 5c 68 61 6e 73 6d 40 66 | 77 69 2e 75 76 61 2e 6e |\hansm@f|wi.uva.n|
|00000400| 6c 7d 0a 5c 64 61 74 65 | 7b 5c 66 69 6c 65 64 61 |l}.\date|{\fileda|
|00000410| 74 65 7d 0a 5c 6d 61 6b | 65 74 69 74 6c 65 0a 25 |te}.\mak|etitle.%|
|00000420| 0a 25 20 5c 62 65 67 69 | 6e 7b 61 62 73 74 72 61 |.% \begi|n{abstra|
|00000430| 63 74 7d 0a 25 20 20 20 | 54 68 69 73 20 61 72 74 |ct}.% |This art|
|00000440| 69 63 6c 65 20 64 65 73 | 63 72 69 62 65 73 20 74 |icle des|cribes t|
|00000450| 68 65 20 75 73 65 20 61 | 6e 64 20 74 68 65 20 69 |he use a|nd the i|
|00000460| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 20 6f 66 |mplement|ation of|
|00000470| 20 74 68 65 20 0a 25 20 | 20 20 5c 65 6d 70 68 7b | the .% | \emph{|
|00000480| 65 78 61 6d 20 63 6c 61 | 73 73 7d 2e 0a 25 20 20 |exam cla|ss}..% |
|00000490| 20 49 74 73 20 70 75 72 | 70 6f 73 65 20 69 73 20 | Its pur|pose is |
|000004a0| 74 68 65 20 74 79 70 65 | 73 65 74 74 69 6e 67 20 |the type|setting |
|000004b0| 6f 66 20 65 78 61 6d 73 | 2e 0a 25 20 20 20 45 78 |of exams|..% Ex|
|000004c0| 61 6d 20 71 75 65 73 74 | 69 6f 6e 73 20 63 61 6e |am quest|ions can|
|000004d0| 20 62 65 20 6d 75 6c 74 | 69 70 6c 65 20 63 68 6f | be mult|iple cho|
|000004e0| 69 63 65 20 6f 72 20 66 | 72 65 65 20 6c 6f 6e 67 |ice or f|ree long|
|000004f0| 5c 73 6c 61 73 68 20 73 | 68 6f 72 74 0a 25 20 20 |\slash s|hort.% |
|00000500| 20 61 6e 73 77 65 72 20 | 71 75 65 73 74 69 6f 6e | answer |question|
|00000510| 73 2e 0a 25 20 20 20 4f | 70 74 69 6f 6e 73 20 61 |s..% O|ptions a|
|00000520| 72 65 20 74 68 65 20 74 | 79 70 65 73 65 74 74 69 |re the t|ypesetti|
|00000530| 6e 67 20 6f 66 20 74 68 | 65 20 65 78 61 6d 20 69 |ng of th|e exam i|
|00000540| 74 73 65 6c 66 2c 20 61 | 6e 20 65 78 61 6d 0a 25 |tself, a|n exam.%|
|00000550| 20 20 20 73 68 6f 77 69 | 6e 67 20 61 6c 6c 20 74 | showi|ng all t|
|00000560| 68 65 20 61 6e 73 77 65 | 72 73 20 61 6e 64 20 61 |he answe|rs and a|
|00000570| 20 63 6f 6c 6c 65 63 74 | 69 6f 6e 20 6f 66 20 71 | collect|ion of q|
|00000580| 75 65 73 74 69 6f 6e 73 | 20 61 6e 64 20 61 6e 73 |uestions| and ans|
|00000590| 77 65 72 73 2e 0a 25 20 | 20 20 51 75 65 73 74 69 |wers..% | Questi|
|000005a0| 6f 6e 73 20 63 61 6e 20 | 62 65 20 70 61 72 61 6d |ons can |be param|
|000005b0| 65 74 72 69 7a 65 64 2e | 0a 25 20 20 20 55 73 65 |etrized.|.% Use|
|000005c0| 20 6f 66 20 61 20 72 61 | 6e 64 6f 6d 20 67 65 6e | of a ra|ndom gen|
|000005d0| 65 72 61 74 6f 72 20 70 | 72 6f 76 69 64 65 73 20 |erator p|rovides |
|000005e0| 66 6f 72 20 61 75 74 6f | 6d 61 74 69 63 20 73 68 |for auto|matic sh|
|000005f0| 75 66 66 6c 69 6e 67 0a | 25 20 20 20 6f 66 20 6d |uffling.|% of m|
|00000600| 75 6c 74 69 70 6c 65 20 | 63 68 6f 69 63 65 20 69 |ultiple |choice i|
|00000610| 74 65 6d 73 2e 0a 25 20 | 5c 65 6e 64 7b 61 62 73 |tems..% |\end{abs|
|00000620| 74 72 61 63 74 7d 0a 25 | 0a 5c 6e 6f 65 78 61 6d |tract}.%|.\noexam|
|00000630| 70 6c 65 73 0a 5c 44 6f | 63 49 6e 70 75 74 7b 65 |ples.\Do|cInput{e|
|00000640| 78 61 6d 2e 64 74 78 7d | 0a 5c 65 6e 64 7b 64 6f |xam.dtx}|.\end{do|
|00000650| 63 75 6d 65 6e 74 7d 0a | 25 3c 2f 64 72 69 76 65 |cument}.|%</drive|
|00000660| 72 3e 0a 25 20 5c 66 69 | 0a 25 0a 25 20 25 25 25 |r>.% \fi|.%.% %%%|
|00000670| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000680| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000690| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000006a0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000006b0| 25 0a 25 0a 25 20 5c 63 | 68 61 6e 67 65 73 7b 33 |%.%.% \c|hanges{3|
|000006c0| 2e 30 30 7d 7b 31 39 39 | 34 2f 30 32 2f 31 33 7d |.00}{199|4/02/13}|
|000006d0| 7b 46 69 72 73 74 20 76 | 65 72 73 69 6f 6e 20 66 |{First v|ersion f|
|000006e0| 6f 72 20 4c 61 54 65 58 | 32 45 20 61 6e 64 20 64 |or LaTeX|2E and d|
|000006f0| 6f 63 73 74 72 69 70 7d | 0a 25 20 5c 63 68 61 6e |ocstrip}|.% \chan|
|00000700| 67 65 73 7b 33 2e 30 31 | 7d 7b 31 39 39 34 2f 30 |ges{3.01|}{1994/0|
|00000710| 33 2f 32 34 7d 7b 61 64 | 64 65 64 20 6d 62 6f 78 |3/24}{ad|ded mbox|
|00000720| 7b 7d 20 74 6f 20 43 6f | 70 79 72 69 67 68 74 20 |{} to Co|pyright |
|00000730| 28 6d 69 73 73 69 6e 67 | 20 69 74 65 6d 20 65 72 |(missing| item er|
|00000740| 72 6f 72 29 7d 0a 25 20 | 5c 63 68 61 6e 67 65 73 |ror)}.% |\changes|
|00000750| 7b 33 2e 31 30 7d 7b 31 | 39 39 34 2f 31 30 2f 31 |{3.10}{1|994/10/1|
|00000760| 39 7d 7b 75 70 64 61 74 | 65 64 20 73 65 76 65 72 |9}{updat|ed sever|
|00000770| 61 6c 20 66 65 61 74 75 | 72 65 73 7d 0a 25 20 5c |al featu|res}.% \|
|00000780| 63 68 61 6e 67 65 73 7b | 33 2e 31 31 7d 7b 31 39 |changes{|3.11}{19|
|00000790| 39 34 2f 31 30 2f 32 31 | 7d 7b 61 64 64 65 64 20 |94/10/21|}{added |
|000007a0| 64 75 6d 70 69 74 65 6d | 6e 6f 20 61 6e 64 20 69 |dumpitem|no and i|
|000007b0| 67 6e 6f 72 65 73 70 61 | 63 65 20 69 6e 20 53 52 |gnorespa|ce in SR|
|000007c0| 73 65 74 7d 0a 25 20 5c | 63 68 61 6e 67 65 73 7b |set}.% \|changes{|
|000007d0| 33 2e 31 32 7d 7b 31 39 | 39 34 2f 31 30 2f 32 35 |3.12}{19|94/10/25|
|000007e0| 7d 7b 63 68 61 6e 67 65 | 64 20 70 61 67 65 6e 75 |}{change|d pagenu|
|000007f0| 6d 62 65 72 69 6e 67 20 | 69 6e 64 65 78 7d 0a 25 |mbering |index}.%|
|00000800| 20 5c 63 68 61 6e 67 65 | 73 7b 33 2e 31 33 7d 7b | \change|s{3.13}{|
|00000810| 31 39 39 34 2f 31 31 2f | 31 30 7d 7b 68 65 6c 70 |1994/11/|10}{help|
|00000820| 20 73 68 6f 77 73 20 63 | 6c 61 73 73 20 6f 70 74 | shows c|lass opt|
|00000830| 69 6f 6e 73 7d 0a 25 0a | 25 20 5c 43 68 65 63 6b |ions}.%.|% \Check|
|00000840| 53 75 6d 7b 39 38 30 7d | 0a 25 0a 25 20 25 25 25 |Sum{980}|.%.% %%%|
|00000850| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000860| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000870| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000880| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000890| 25 0a 25 0a 25 25 20 5c | 43 68 61 72 61 63 74 65 |%.%.%% \|Characte|
|000008a0| 72 54 61 62 6c 65 0a 25 | 25 20 20 7b 55 70 70 65 |rTable.%|% {Uppe|
|000008b0| 72 2d 63 61 73 65 20 20 | 20 20 5c 41 5c 42 5c 43 |r-case | \A\B\C|
|000008c0| 5c 44 5c 45 5c 46 5c 47 | 5c 48 5c 49 5c 4a 5c 4b |\D\E\F\G|\H\I\J\K|
|000008d0| 5c 4c 5c 4d 5c 4e 5c 4f | 5c 50 5c 51 5c 52 5c 53 |\L\M\N\O|\P\Q\R\S|
|000008e0| 5c 54 5c 55 5c 56 5c 57 | 5c 58 5c 59 5c 5a 0a 25 |\T\U\V\W|\X\Y\Z.%|
|000008f0| 25 20 20 20 4c 6f 77 65 | 72 2d 63 61 73 65 20 20 |% Lowe|r-case |
|00000900| 20 20 5c 61 5c 62 5c 63 | 5c 64 5c 65 5c 66 5c 67 | \a\b\c|\d\e\f\g|
|00000910| 5c 68 5c 69 5c 6a 5c 6b | 5c 6c 5c 6d 5c 6e 5c 6f |\h\i\j\k|\l\m\n\o|
|00000920| 5c 70 5c 71 5c 72 5c 73 | 5c 74 5c 75 5c 76 5c 77 |\p\q\r\s|\t\u\v\w|
|00000930| 5c 78 5c 79 5c 7a 0a 25 | 25 20 20 20 44 69 67 69 |\x\y\z.%|% Digi|
|00000940| 74 73 20 20 20 20 20 20 | 20 20 5c 30 5c 31 5c 32 |ts | \0\1\2|
|00000950| 5c 33 5c 34 5c 35 5c 36 | 5c 37 5c 38 5c 39 0a 25 |\3\4\5\6|\7\8\9.%|
|00000960| 25 20 20 20 45 78 63 6c | 61 6d 61 74 69 6f 6e 20 |% Excl|amation |
|00000970| 20 20 5c 21 20 20 20 20 | 20 44 6f 75 62 6c 65 20 | \! | Double |
|00000980| 71 75 6f 74 65 20 20 5c | 22 20 20 20 20 20 48 61 |quote \|" Ha|
|00000990| 73 68 20 28 6e 75 6d 62 | 65 72 29 20 5c 23 0a 25 |sh (numb|er) \#.%|
|000009a0| 25 20 20 20 44 6f 6c 6c | 61 72 20 20 20 20 20 20 |% Doll|ar |
|000009b0| 20 20 5c 24 20 20 20 20 | 20 50 65 72 63 65 6e 74 | \$ | Percent|
|000009c0| 20 20 20 20 20 20 20 5c | 25 20 20 20 20 20 41 6d | \|% Am|
|000009d0| 70 65 72 73 61 6e 64 20 | 20 20 20 20 5c 26 0a 25 |persand | \&.%|
|000009e0| 25 20 20 20 41 63 75 74 | 65 20 61 63 63 65 6e 74 |% Acut|e accent|
|000009f0| 20 20 5c 27 20 20 20 20 | 20 4c 65 66 74 20 70 61 | \' | Left pa|
|00000a00| 72 65 6e 20 20 20 20 5c | 28 20 20 20 20 20 52 69 |ren \|( Ri|
|00000a10| 67 68 74 20 70 61 72 65 | 6e 20 20 20 5c 29 0a 25 |ght pare|n \).%|
|00000a20| 25 20 20 20 41 73 74 65 | 72 69 73 6b 20 20 20 20 |% Aste|risk |
|00000a30| 20 20 5c 2a 20 20 20 20 | 20 50 6c 75 73 20 20 20 | \* | Plus |
|00000a40| 20 20 20 20 20 20 20 5c | 2b 20 20 20 20 20 43 6f | \|+ Co|
|00000a50| 6d 6d 61 20 20 20 20 20 | 20 20 20 20 5c 2c 0a 25 |mma | \,.%|
|00000a60| 25 20 20 20 4d 69 6e 75 | 73 20 20 20 20 20 20 20 |% Minu|s |
|00000a70| 20 20 5c 2d 20 20 20 20 | 20 50 6f 69 6e 74 20 20 | \- | Point |
|00000a80| 20 20 20 20 20 20 20 5c | 2e 20 20 20 20 20 53 6f | \|. So|
|00000a90| 6c 69 64 75 73 20 20 20 | 20 20 20 20 5c 2f 0a 25 |lidus | \/.%|
|00000aa0| 25 20 20 20 43 6f 6c 6f | 6e 20 20 20 20 20 20 20 |% Colo|n |
|00000ab0| 20 20 5c 3a 20 20 20 20 | 20 53 65 6d 69 63 6f 6c | \: | Semicol|
|00000ac0| 6f 6e 20 20 20 20 20 5c | 3b 20 20 20 20 20 4c 65 |on \|; Le|
|00000ad0| 73 73 20 74 68 61 6e 20 | 20 20 20 20 5c 3c 0a 25 |ss than | \<.%|
|00000ae0| 25 20 20 20 45 71 75 61 | 6c 73 20 20 20 20 20 20 |% Equa|ls |
|00000af0| 20 20 5c 3d 20 20 20 20 | 20 47 72 65 61 74 65 72 | \= | Greater|
|00000b00| 20 74 68 61 6e 20 20 5c | 3e 20 20 20 20 20 51 75 | than \|> Qu|
|00000b10| 65 73 74 69 6f 6e 20 6d | 61 72 6b 20 5c 3f 0a 25 |estion m|ark \?.%|
|00000b20| 25 20 20 20 43 6f 6d 6d | 65 72 63 69 61 6c 20 61 |% Comm|ercial a|
|00000b30| 74 20 5c 40 20 20 20 20 | 20 4c 65 66 74 20 62 72 |t \@ | Left br|
|00000b40| 61 63 6b 65 74 20 20 5c | 5b 20 20 20 20 20 42 61 |acket \|[ Ba|
|00000b50| 63 6b 73 6c 61 73 68 20 | 20 20 20 20 5c 5c 0a 25 |ckslash | \\.%|
|00000b60| 25 20 20 20 52 69 67 68 | 74 20 62 72 61 63 6b 65 |% Righ|t bracke|
|00000b70| 74 20 5c 5d 20 20 20 20 | 20 43 69 72 63 75 6d 66 |t \] | Circumf|
|00000b80| 6c 65 78 20 20 20 20 5c | 5e 20 20 20 20 20 55 6e |lex \|^ Un|
|00000b90| 64 65 72 73 63 6f 72 65 | 20 20 20 20 5c 5f 0a 25 |derscore| \_.%|
|00000ba0| 25 20 20 20 47 72 61 76 | 65 20 61 63 63 65 6e 74 |% Grav|e accent|
|00000bb0| 20 20 5c 60 20 20 20 20 | 20 4c 65 66 74 20 62 72 | \` | Left br|
|00000bc0| 61 63 65 20 20 20 20 5c | 7b 20 20 20 20 20 56 65 |ace \|{ Ve|
|00000bd0| 72 74 69 63 61 6c 20 62 | 61 72 20 20 5c 7c 0a 25 |rtical b|ar \|.%|
|00000be0| 25 20 20 20 52 69 67 68 | 74 20 62 72 61 63 65 20 |% Righ|t brace |
|00000bf0| 20 20 5c 7d 20 20 20 20 | 20 54 69 6c 64 65 20 20 | \} | Tilde |
|00000c00| 20 20 20 20 20 20 20 5c | 7e 7d 0a 25 0a 25 20 20 | \|~}.%.% |
|00000c10| 5e 5e 41 20 20 57 65 20 | 64 6f 6e 27 74 20 77 61 |^^A We |don't wa|
|00000c20| 6e 74 20 65 76 65 72 79 | 74 68 69 6e 67 20 74 6f |nt every|thing to|
|00000c30| 20 61 70 70 65 61 72 20 | 69 6e 20 74 68 65 20 69 | appear |in the i|
|00000c40| 6e 64 65 78 0a 25 0a 25 | 20 5c 44 6f 4e 6f 74 49 |ndex.%.%| \DoNotI|
|00000c50| 6e 64 65 78 7b 5c 27 2c | 5c 2e 2c 5c 40 4d 2c 5c |ndex{\',|\.,\@M,\|
|00000c60| 40 40 69 6e 70 75 74 2c | 5c 40 61 64 64 74 6f 72 |@@input,|\@addtor|
|00000c70| 65 73 65 74 2c 5c 40 61 | 72 61 62 69 63 2c 5c 40 |eset,\@a|rabic,\@|
|00000c80| 62 61 64 6d 61 74 68 7d | 0a 25 20 5c 44 6f 4e 6f |badmath}|.% \DoNo|
|00000c90| 74 49 6e 64 65 78 7b 5c | 40 63 65 6e 74 65 72 63 |tIndex{\|@centerc|
|00000ca0| 72 2c 5c 40 63 69 74 65 | 7d 0a 25 20 5c 44 6f 4e |r,\@cite|}.% \DoN|
|00000cb0| 6f 74 49 6e 64 65 78 7b | 5c 40 64 6f 74 73 65 70 |otIndex{|\@dotsep|
|00000cc0| 2c 5c 40 65 6d 70 74 79 | 2c 5c 40 66 6c 6f 61 74 |,\@empty|,\@float|
|00000cd0| 2c 5c 40 67 6f 62 62 6c | 65 2c 5c 40 67 6f 62 62 |,\@gobbl|e,\@gobb|
|00000ce0| 6c 65 74 77 6f 2c 5c 40 | 69 67 6e 6f 72 65 74 72 |letwo,\@|ignoretr|
|00000cf0| 75 65 7d 0a 25 20 5c 44 | 6f 4e 6f 74 49 6e 64 65 |ue}.% \D|oNotInde|
|00000d00| 78 7b 5c 40 69 6e 70 75 | 74 2c 5c 40 69 78 70 74 |x{\@inpu|t,\@ixpt|
|00000d10| 2c 5c 40 6d 7d 0a 25 20 | 5c 44 6f 4e 6f 74 49 6e |,\@m}.% |\DoNotIn|
|00000d20| 64 65 78 7b 5c 40 6d 69 | 6e 75 73 2c 5c 40 6d 6b |dex{\@mi|nus,\@mk|
|00000d30| 62 6f 74 68 2c 5c 40 6e | 65 2c 5c 40 6e 69 6c 2c |both,\@n|e,\@nil,|
|00000d40| 5c 40 6e 6f 6d 61 74 68 | 2c 5c 40 70 6c 75 73 2c |\@nomath|,\@plus,|
|00000d50| 5c 40 73 65 74 40 74 6f | 70 6f 69 6e 74 7d 0a 25 |\@set@to|point}.%|
|00000d60| 20 5c 44 6f 4e 6f 74 49 | 6e 64 65 78 7b 5c 40 74 | \DoNotI|ndex{\@t|
|00000d70| 65 6d 70 62 6f 78 61 2c | 5c 40 74 65 6d 70 63 6e |empboxa,|\@tempcn|
|00000d80| 74 61 2c 5c 40 74 65 6d | 70 64 69 6d 61 2c 5c 40 |ta,\@tem|pdima,\@|
|00000d90| 74 65 6d 70 64 69 6d 62 | 7d 0a 25 20 5c 44 6f 4e |tempdimb|}.% \DoN|
|00000da0| 6f 74 49 6e 64 65 78 7b | 5c 40 74 65 6d 70 73 77 |otIndex{|\@tempsw|
|00000db0| 61 66 61 6c 73 65 2c 5c | 40 74 65 6d 70 73 77 61 |afalse,\|@tempswa|
|00000dc0| 74 72 75 65 2c 5c 40 76 | 69 69 70 74 2c 5c 40 76 |true,\@v|iipt,\@v|
|00000dd0| 69 69 69 70 74 2c 5c 40 | 76 69 70 74 7d 0a 25 20 |iiipt,\@|vipt}.% |
|00000de0| 5c 44 6f 4e 6f 74 49 6e | 64 65 78 7b 5c 40 76 70 |\DoNotIn|dex{\@vp|
|00000df0| 74 2c 5c 40 77 61 72 6e | 69 6e 67 2c 5c 40 78 69 |t,\@warn|ing,\@xi|
|00000e00| 69 70 74 2c 5c 40 78 69 | 70 74 2c 5c 40 78 69 76 |ipt,\@xi|pt,\@xiv|
|00000e10| 70 74 2c 5c 40 78 70 74 | 2c 5c 40 78 76 69 69 70 |pt,\@xpt|,\@xviip|
|00000e20| 74 7d 0a 25 20 5c 44 6f | 4e 6f 74 49 6e 64 65 78 |t}.% \Do|NotIndex|
|00000e30| 7b 5c 40 78 78 70 74 2c | 5c 40 78 78 76 70 74 2c |{\@xxpt,|\@xxvpt,|
|00000e40| 5c 5c 2c 5c 20 2c 5c 61 | 64 64 70 65 6e 61 6c 74 |\\,\ ,\a|ddpenalt|
|00000e50| 79 2c 5c 61 64 64 74 6f | 6c 65 6e 67 74 68 2c 5c |y,\addto|length,\|
|00000e60| 61 64 64 76 73 70 61 63 | 65 7d 0a 25 20 5c 44 6f |addvspac|e}.% \Do|
|00000e70| 4e 6f 74 49 6e 64 65 78 | 7b 5c 61 64 76 61 6e 63 |NotIndex|{\advanc|
|00000e80| 65 2c 5c 41 6c 70 68 2c | 5c 61 6c 70 68 7d 0a 25 |e,\Alph,|\alph}.%|
|00000e90| 20 5c 44 6f 4e 6f 74 49 | 6e 64 65 78 7b 5c 61 72 | \DoNotI|ndex{\ar|
|00000ea0| 61 62 69 63 2c 5c 61 73 | 74 2c 5c 62 65 67 69 6e |abic,\as|t,\begin|
|00000eb0| 2c 5c 62 65 67 69 6e 67 | 72 6f 75 70 2c 5c 62 66 |,\beging|roup,\bf|
|00000ec0| 73 65 72 69 65 73 2c 5c | 62 67 72 6f 75 70 2c 5c |series,\|bgroup,\|
|00000ed0| 62 6f 78 7d 0a 25 20 5c | 44 6f 4e 6f 74 49 6e 64 |box}.% \|DoNotInd|
|00000ee0| 65 78 7b 5c 62 75 6c 6c | 65 74 7d 0a 25 20 5c 44 |ex{\bull|et}.% \D|
|00000ef0| 6f 4e 6f 74 49 6e 64 65 | 78 7b 5c 63 64 6f 74 2c |oNotInde|x{\cdot,|
|00000f00| 5c 63 69 74 65 2c 5c 43 | 6f 64 65 6c 69 6e 65 49 |\cite,\C|odelineI|
|00000f10| 6e 64 65 78 2c 5c 63 72 | 2c 5c 64 61 79 2c 5c 44 |ndex,\cr|,\day,\D|
|00000f20| 65 63 6c 61 72 65 4f 70 | 74 69 6f 6e 7d 0a 25 20 |eclareOp|tion}.% |
|00000f30| 5c 44 6f 4e 6f 74 49 6e | 64 65 78 7b 5c 64 65 66 |\DoNotIn|dex{\def|
|00000f40| 2c 5c 44 69 73 61 62 6c | 65 43 72 6f 73 73 72 65 |,\Disabl|eCrossre|
|00000f50| 66 73 2c 5c 64 69 76 69 | 64 65 2c 5c 44 6f 63 49 |fs,\divi|de,\DocI|
|00000f60| 6e 70 75 74 2c 5c 64 6f | 63 75 6d 65 6e 74 63 6c |nput,\do|cumentcl|
|00000f70| 61 73 73 7d 0a 25 20 5c | 44 6f 4e 6f 74 49 6e 64 |ass}.% \|DoNotInd|
|00000f80| 65 78 7b 5c 44 6f 4e 6f | 74 49 6e 64 65 78 2c 5c |ex{\DoNo|tIndex,\|
|00000f90| 65 67 72 6f 75 70 2c 5c | 65 6c 73 65 2c 5c 65 6d |egroup,\|else,\em|
|00000fa0| 2c 5c 65 6e 64 74 72 69 | 76 6c 69 73 74 7d 0a 25 |,\endtri|vlist}.%|
|00000fb0| 20 5c 44 6f 4e 6f 74 49 | 6e 64 65 78 7b 5c 45 6e | \DoNotI|ndex{\En|
|00000fc0| 61 62 6c 65 43 72 6f 73 | 73 72 65 66 73 2c 5c 65 |ableCros|srefs,\e|
|00000fd0| 6e 64 2c 5c 65 6e 64 40 | 64 62 6c 66 6c 6f 61 74 |nd,\end@|dblfloat|
|00000fe0| 2c 5c 65 6e 64 40 66 6c | 6f 61 74 2c 5c 65 6e 64 |,\end@fl|oat,\end|
|00000ff0| 67 72 6f 75 70 7d 0a 25 | 20 5c 44 6f 4e 6f 74 49 |group}.%| \DoNotI|
|00001000| 6e 64 65 78 7b 5c 65 6e | 64 6c 69 73 74 2c 5c 65 |ndex{\en|dlist,\e|
|00001010| 76 65 72 79 63 72 2c 5c | 65 76 65 72 79 70 61 72 |verycr,\|everypar|
|00001020| 2c 5c 45 78 65 63 75 74 | 65 4f 70 74 69 6f 6e 73 |,\Execut|eOptions|
|00001030| 2c 5c 65 78 70 61 6e 64 | 61 66 74 65 72 7d 0a 25 |,\expand|after}.%|
|00001040| 20 5c 44 6f 4e 6f 74 49 | 6e 64 65 78 7b 5c 66 62 | \DoNotI|ndex{\fb|
|00001050| 6f 78 2c 5c 66 69 7d 0a | 25 20 5c 44 6f 4e 6f 74 |ox,\fi}.|% \DoNot|
|00001060| 49 6e 64 65 78 7b 5c 66 | 69 6c 65 64 61 74 65 2c |Index{\f|iledate,|
|00001070| 5c 66 69 6c 65 6e 61 6d | 65 2c 5c 66 69 6c 65 76 |\filenam|e,\filev|
|00001080| 65 72 73 69 6f 6e 2c 5c | 66 6f 6e 74 73 69 7a 65 |ersion,\|fontsize|
|00001090| 2c 5c 66 72 61 6d 65 62 | 6f 78 2c 5c 67 64 65 66 |,\frameb|ox,\gdef|
|000010a0| 7d 0a 25 20 5c 44 6f 4e | 6f 74 49 6e 64 65 78 7b |}.% \DoN|otIndex{|
|000010b0| 5c 67 6c 6f 62 61 6c 2c | 5c 68 61 6c 69 67 6e 2c |\global,|\halign,|
|000010c0| 5c 68 61 6e 67 69 6e 64 | 65 6e 74 2c 5c 68 62 6f |\hangind|ent,\hbo|
|000010d0| 78 2c 5c 68 66 69 6c 2c | 5c 68 66 69 6c 6c 2c 5c |x,\hfil,|\hfill,\|
|000010e0| 68 72 75 6c 65 7d 0a 25 | 20 5c 44 6f 4e 6f 74 49 |hrule}.%| \DoNotI|
|000010f0| 6e 64 65 78 7b 5c 68 73 | 69 7a 65 2c 5c 68 73 6b |ndex{\hs|ize,\hsk|
|00001100| 69 70 5c 68 73 70 61 63 | 65 2c 5c 68 73 73 2c 5c |ip\hspac|e,\hss,\|
|00001110| 69 66 40 74 65 6d 70 73 | 77 61 2c 5c 69 66 63 61 |if@temps|wa,\ifca|
|00001120| 73 65 2c 5c 69 66 64 69 | 6d 7d 0a 25 20 5c 44 6f |se,\ifdi|m}.% \Do|
|00001130| 4e 6f 74 49 6e 64 65 78 | 7b 5c 69 66 68 6d 6f 64 |NotIndex|{\ifhmod|
|00001140| 65 2c 5c 69 66 76 6d 6f | 64 65 2c 5c 69 66 6e 75 |e,\ifvmo|de,\ifnu|
|00001150| 6d 2c 5c 69 66 74 72 75 | 65 2c 5c 69 66 78 2c 5c |m,\iftru|e,\ifx,\|
|00001160| 69 6e 70 75 74 7d 0a 25 | 20 5c 44 6f 4e 6f 74 49 |input}.%| \DoNotI|
|00001170| 6e 64 65 78 7b 5c 6a 6f | 62 6e 61 6d 65 2c 5c 6b |ndex{\jo|bname,\k|
|00001180| 65 72 6e 2c 5c 6c 65 61 | 76 65 76 6d 6f 64 65 2c |ern,\lea|vevmode,|
|00001190| 5c 6c 65 74 2c 5c 6c 65 | 66 74 6d 61 72 6b 7d 0a |\let,\le|ftmark}.|
|000011a0| 25 20 5c 44 6f 4e 6f 74 | 49 6e 64 65 78 7b 5c 6c |% \DoNot|Index{\l|
|000011b0| 69 73 74 2c 5c 6c 6c 61 | 70 2c 5c 6c 6f 6e 67 2c |ist,\lla|p,\long,|
|000011c0| 5c 6d 40 6e 65 2c 5c 6d | 40 74 68 2c 5c 6d 61 72 |\m@ne,\m|@th,\mar|
|000011d0| 6b 2c 5c 6d 61 72 6b 62 | 6f 74 68 2c 5c 6d 61 72 |k,\markb|oth,\mar|
|000011e0| 6b 72 69 67 68 74 7d 0a | 25 20 5c 44 6f 4e 6f 74 |kright}.|% \DoNot|
|000011f0| 49 6e 64 65 78 7b 5c 6d | 6f 6e 74 68 2c 5c 6e 65 |Index{\m|onth,\ne|
|00001200| 77 63 6f 6d 6d 61 6e 64 | 2c 5c 6e 65 77 63 6f 75 |wcommand|,\newcou|
|00001210| 6e 74 65 72 2c 5c 6e 65 | 77 65 6e 76 69 72 6f 6e |nter,\ne|wenviron|
|00001220| 6d 65 6e 74 2c 5c 6e 65 | 77 69 66 7d 0a 25 20 5c |ment,\ne|wif}.% \|
|00001230| 44 6f 4e 6f 74 49 6e 64 | 65 78 7b 5c 4e 65 65 64 |DoNotInd|ex{\Need|
|00001240| 73 54 65 58 46 6f 72 6d | 61 74 2c 5c 6e 65 77 64 |sTeXForm|at,\newd|
|00001250| 69 6d 65 6e 7d 0a 25 20 | 5c 44 6f 4e 6f 74 49 6e |imen}.% |\DoNotIn|
|00001260| 64 65 78 7b 5c 6e 65 77 | 6c 65 6e 67 74 68 2c 5c |dex{\new|length,\|
|00001270| 6e 65 77 70 61 67 65 2c | 5c 6e 6f 62 72 65 61 6b |newpage,|\nobreak|
|00001280| 2c 5c 6e 6f 69 6e 64 65 | 6e 74 2c 5c 6e 75 6c 6c |,\noinde|nt,\null|
|00001290| 2c 5c 6e 75 6d 62 65 72 | 7d 0a 25 20 5c 44 6f 4e |,\number|}.% \DoN|
|000012a0| 6f 74 49 6e 64 65 78 7b | 5c 6e 75 6d 62 65 72 6c |otIndex{|\numberl|
|000012b0| 69 6e 65 2c 5c 4f 6c 64 | 4d 61 6b 65 69 6e 64 65 |ine,\Old|Makeinde|
|000012c0| 78 2c 5c 4f 6e 6c 79 44 | 65 73 63 72 69 70 74 69 |x,\OnlyD|escripti|
|000012d0| 6f 6e 2c 5c 6f 72 2c 5c | 70 40 7d 0a 25 20 5c 44 |on,\or,\|p@}.% \D|
|000012e0| 6f 4e 6f 74 49 6e 64 65 | 78 7b 5c 70 61 67 65 73 |oNotInde|x{\pages|
|000012f0| 74 79 6c 65 2c 5c 70 61 | 72 2c 5c 70 61 72 61 67 |tyle,\pa|r,\parag|
|00001300| 72 61 70 68 2c 5c 70 61 | 72 61 67 72 61 70 68 6d |raph,\pa|ragraphm|
|00001310| 61 72 6b 2c 5c 70 61 72 | 66 69 6c 6c 73 6b 69 70 |ark,\par|fillskip|
|00001320| 7d 0a 25 20 5c 44 6f 4e | 6f 74 49 6e 64 65 78 7b |}.% \DoN|otIndex{|
|00001330| 5c 70 65 6e 61 6c 74 79 | 2c 5c 50 72 69 6e 74 43 |\penalty|,\PrintC|
|00001340| 68 61 6e 67 65 73 2c 5c | 50 72 69 6e 74 49 6e 64 |hanges,\|PrintInd|
|00001350| 65 78 2c 5c 50 72 6f 63 | 65 73 73 4f 70 74 69 6f |ex,\Proc|essOptio|
|00001360| 6e 73 7d 0a 25 20 5c 44 | 6f 4e 6f 74 49 6e 64 65 |ns}.% \D|oNotInde|
|00001370| 78 7b 5c 70 72 6f 74 65 | 63 74 2c 5c 50 72 6f 76 |x{\prote|ct,\Prov|
|00001380| 69 64 65 73 43 6c 61 73 | 73 2c 5c 72 61 67 67 65 |idesClas|s,\ragge|
|00001390| 64 62 6f 74 74 6f 6d 2c | 5c 72 61 67 67 65 64 72 |dbottom,|\raggedr|
|000013a0| 69 67 68 74 7d 0a 25 20 | 5c 44 6f 4e 6f 74 49 6e |ight}.% |\DoNotIn|
|000013b0| 64 65 78 7b 5c 72 65 66 | 73 74 65 70 63 6f 75 6e |dex{\ref|stepcoun|
|000013c0| 74 65 72 2c 5c 72 65 6c | 61 78 2c 5c 72 65 6e 65 |ter,\rel|ax,\rene|
|000013d0| 77 63 6f 6d 6d 61 6e 64 | 2c 5c 72 65 73 65 74 40 |wcommand|,\reset@|
|000013e0| 66 6f 6e 74 7d 0a 25 20 | 5c 44 6f 4e 6f 74 49 6e |font}.% |\DoNotIn|
|000013f0| 64 65 78 7b 5c 72 69 67 | 68 74 6d 61 72 67 69 6e |dex{\rig|htmargin|
|00001400| 2c 5c 72 69 67 68 74 6d | 61 72 6b 2c 5c 72 69 67 |,\rightm|ark,\rig|
|00001410| 68 74 73 6b 69 70 2c 5c | 72 6c 61 70 2c 5c 72 6d |htskip,\|rlap,\rm|
|00001420| 66 61 6d 69 6c 79 2c 5c | 72 6f 6d 61 6e 7d 0a 25 |family,\|roman}.%|
|00001430| 20 5c 44 6f 4e 6f 74 49 | 6e 64 65 78 7b 5c 72 6f | \DoNotI|ndex{\ro|
|00001440| 6d 61 6e 2c 5c 73 65 63 | 64 65 66 2c 5c 73 65 6c |man,\sec|def,\sel|
|00001450| 65 63 74 66 6f 6e 74 2c | 5c 73 65 74 62 6f 78 2c |ectfont,|\setbox,|
|00001460| 5c 73 65 74 63 6f 75 6e | 74 65 72 2c 5c 73 65 74 |\setcoun|ter,\set|
|00001470| 6c 65 6e 67 74 68 7d 0a | 25 20 5c 44 6f 4e 6f 74 |length}.|% \DoNot|
|00001480| 49 6e 64 65 78 7b 5c 73 | 65 74 74 6f 77 69 64 74 |Index{\s|ettowidt|
|00001490| 68 2c 5c 73 66 63 6f 64 | 65 2c 5c 73 6b 69 70 2c |h,\sfcod|e,\skip,|
|000014a0| 5c 73 6c 6f 70 70 79 2c | 5c 73 6c 73 68 61 70 65 |\sloppy,|\slshape|
|000014b0| 2c 5c 73 70 61 63 65 7d | 0a 25 20 5c 44 6f 4e 6f |,\space}|.% \DoNo|
|000014c0| 74 49 6e 64 65 78 7b 5c | 73 79 6d 62 6f 6c 2c 5c |tIndex{\|symbol,\|
|000014d0| 74 68 65 2c 5c 74 72 69 | 76 6c 69 73 74 2c 5c 74 |the,\tri|vlist,\t|
|000014e0| 79 70 65 6f 75 74 2c 5c | 74 77 40 2c 5c 75 6e 64 |ypeout,\|tw@,\und|
|000014f0| 65 66 69 6e 65 64 2c 5c | 75 70 70 65 72 63 61 73 |efined,\|uppercas|
|00001500| 65 7d 0a 25 20 5c 44 6f | 4e 6f 74 49 6e 64 65 78 |e}.% \Do|NotIndex|
|00001510| 7b 5c 75 73 65 63 6f 75 | 6e 74 65 72 2c 5c 75 73 |{\usecou|nter,\us|
|00001520| 65 66 6f 6e 74 2c 5c 75 | 73 65 70 61 63 6b 61 67 |efont,\u|sepackag|
|00001530| 65 2c 5c 76 66 69 6c 2c | 5c 76 66 69 6c 6c 2c 5c |e,\vfil,|\vfill,\|
|00001540| 76 69 69 69 70 74 7d 0a | 25 20 5c 44 6f 4e 6f 74 |viiipt}.|% \DoNot|
|00001550| 49 6e 64 65 78 7b 5c 76 | 69 69 70 74 2c 5c 76 69 |Index{\v|iipt,\vi|
|00001560| 70 74 2c 5c 76 73 6b 69 | 70 2c 5c 76 73 70 61 63 |pt,\vski|p,\vspac|
|00001570| 65 7d 0a 25 20 5c 44 6f | 4e 6f 74 49 6e 64 65 78 |e}.% \Do|NotIndex|
|00001580| 7b 5c 77 64 2c 5c 78 69 | 69 70 74 2c 5c 79 65 61 |{\wd,\xi|ipt,\yea|
|00001590| 72 2c 5c 7a 40 7d 0a 25 | 0a 25 20 20 5e 5e 41 20 |r,\z@}.%|.% ^^A |
|000015a0| 20 53 74 61 72 74 20 75 | 70 20 74 68 65 20 62 6f | Start u|p the bo|
|000015b0| 64 79 20 6f 66 20 74 68 | 65 20 64 6f 63 75 6d 65 |dy of th|e docume|
|000015c0| 6e 74 0a 25 0a 25 20 5c | 74 61 62 6c 65 6f 66 63 |nt.%.% \|tableofc|
|000015d0| 6f 6e 74 65 6e 74 73 0a | 25 0a 25 20 5c 73 65 63 |ontents.|%.% \sec|
|000015e0| 74 69 6f 6e 7b 55 73 61 | 67 65 7d 0a 25 0a 25 20 |tion{Usa|ge}.%.% |
|000015f0| 5c 73 75 62 73 65 63 74 | 69 6f 6e 7b 45 78 61 6d |\subsect|ion{Exam|
|00001600| 20 70 72 6f 64 75 63 74 | 69 6f 6e 7d 0a 25 0a 25 | product|ion}.%.%|
|00001610| 20 41 6e 20 65 78 61 6d | 20 63 61 6e 20 62 65 20 | An exam| can be |
|00001620| 62 75 69 6c 74 20 66 72 | 6f 6d 20 74 68 65 20 66 |built fr|om the f|
|00001630| 6f 6c 6c 6f 77 69 6e 67 | 20 74 65 6d 70 6c 61 74 |ollowing| templat|
|00001640| 65 2e 0a 25 20 46 6f 72 | 20 73 70 65 63 69 61 6c |e..% For| special|
|00001650| 20 69 73 73 75 65 73 20 | 61 73 20 74 68 65 20 75 | issues |as the u|
|00001660| 73 65 20 6f 66 20 64 65 | 66 61 75 6c 74 20 6e 61 |se of de|fault na|
|00001670| 6d 65 73 20 66 6f 72 0a | 25 20 76 61 72 69 6f 75 |mes for.|% variou|
|00001680| 73 20 64 69 72 65 63 74 | 6f 72 69 65 73 2c 20 6c |s direct|ories, l|
|00001690| 61 6e 67 75 61 67 65 20 | 73 65 6c 65 63 74 69 6f |anguage |selectio|
|000016a0| 6e 2c 20 65 74 63 2e 20 | 73 65 65 0a 25 20 74 68 |n, etc. |see.% th|
|000016b0| 65 20 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |e implem|entation|
|000016c0| 20 73 65 63 74 69 6f 6e | 2e 0a 25 20 59 6f 75 20 | section|..% You |
|000016d0| 6d 61 79 20 63 75 73 74 | 6f 6d 69 7a 65 20 74 68 |may cust|omize th|
|000016e0| 65 20 74 79 70 65 73 65 | 74 74 69 6e 67 20 62 79 |e typese|tting by|
|000016f0| 20 70 72 6f 76 69 64 69 | 6e 67 0a 25 20 61 20 66 | providi|ng.% a f|
|00001700| 69 6c 65 20 5c 65 6d 70 | 68 7b 65 78 61 6d 2e 63 |ile \emp|h{exam.c|
|00001710| 66 67 7d 20 69 6e 20 74 | 68 65 20 73 65 61 72 63 |fg} in t|he searc|
|00001720| 68 20 70 61 74 68 3b 20 | 74 68 69 73 20 66 69 6c |h path; |this fil|
|00001730| 65 0a 25 20 69 73 20 72 | 65 61 64 20 6a 75 73 74 |e.% is r|ead just|
|00001740| 20 62 65 66 6f 72 65 20 | 74 79 70 65 73 65 74 74 | before |typesett|
|00001750| 69 6e 67 20 62 65 67 69 | 6e 73 2e 0a 25 0a 25 20 |ing begi|ns..%.% |
|00001760| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|00001770| 0a 25 20 5c 64 6f 63 75 | 6d 65 6e 74 63 6c 61 73 |.% \docu|mentclas|
|00001780| 73 5b 6f 70 74 69 6f 6e | 73 5d 7b 65 78 61 6d 7d |s[option|s]{exam}|
|00001790| 0a 25 0a 25 20 5c 74 69 | 74 6c 65 7b 74 69 74 6c |.%.% \ti|tle{titl|
|000017a0| 65 20 6f 66 20 65 78 61 | 6d 7d 0a 25 20 5c 61 75 |e of exa|m}.% \au|
|000017b0| 74 68 6f 72 7b 74 68 65 | 20 65 78 61 6d 69 6e 61 |thor{the| examina|
|000017c0| 74 6f 72 7d 0a 25 20 5c | 74 61 72 67 65 74 7b 74 |tor}.% \|target{t|
|000017d0| 68 65 20 73 74 75 64 65 | 6e 74 73 7d 0a 25 0a 25 |he stude|nts}.%.%|
|000017e0| 20 5c 62 65 67 69 6e 7b | 65 78 61 6d 7d 5b 73 74 | \begin{|exam}[st|
|000017f0| 61 72 74 76 61 6c 75 65 | 20 72 61 6e 64 6f 6d 20 |artvalue| random |
|00001800| 67 65 6e 65 72 61 74 6f | 72 5d 7b 64 61 74 65 20 |generato|r]{date |
|00001810| 6f 66 20 65 78 61 6d 7d | 0a 25 20 5c 71 75 65 73 |of exam}|.% \ques|
|00001820| 74 69 6f 6e 7b 64 69 72 | 65 63 74 6f 72 79 7d 7b |tion{dir|ectory}{|
|00001830| 66 69 6c 65 7d 0a 25 20 | 5c 71 75 65 73 74 69 6f |file}.% |\questio|
|00001840| 6e 5b 70 61 72 61 6d 65 | 74 65 72 20 76 61 6c 75 |n[parame|ter valu|
|00001850| 65 5d 7b 64 69 72 65 63 | 74 6f 72 79 7d 7b 66 69 |e]{direc|tory}{fi|
|00001860| 6c 65 7d 20 25 20 70 61 | 72 61 6d 65 74 72 69 7a |le} % pa|rametriz|
|00001870| 65 64 0a 25 20 2e 2e 2e | 2e 0a 25 20 5c 65 6e 64 |ed.% ...|..% \end|
|00001880| 7b 65 78 61 6d 7d 0a 25 | 0a 25 20 2e 2e 2e 20 25 |{exam}.%|.% ... %|
|00001890| 20 70 6f 73 73 69 62 6c | 79 20 6f 74 68 65 72 20 | possibl|y other |
|000018a0| 65 78 61 6d 73 0a 25 20 | 5c 65 6e 64 7b 64 6f 63 |exams.% |\end{doc|
|000018b0| 75 6d 65 6e 74 7d 0a 25 | 20 5c 65 6e 64 7b 76 65 |ument}.%| \end{ve|
|000018c0| 72 62 61 74 69 6d 7d 0a | 25 0a 25 20 5c 73 75 62 |rbatim}.|%.% \sub|
|000018d0| 73 65 63 74 69 6f 6e 7b | 46 6f 72 6d 61 74 20 6f |section{|Format o|
|000018e0| 66 20 61 20 70 72 6f 62 | 6c 65 6d 7d 0a 25 0a 25 |f a prob|lem}.%.%|
|000018f0| 20 41 20 70 72 6f 62 6c | 65 6d 20 69 73 20 62 75 | A probl|em is bu|
|00001900| 69 6c 74 20 62 79 20 65 | 6e 76 69 72 6f 6e 6d 65 |ilt by e|nvironme|
|00001910| 6e 74 20 7c 70 72 6f 62 | 6c 65 6d 7c 2e 0a 25 20 |nt |prob|lem|..% |
|00001920| 49 6e 20 69 74 20 73 65 | 76 65 72 61 6c 20 65 6c |In it se|veral el|
|00001930| 65 6d 65 6e 74 73 20 63 | 61 6e 20 62 65 20 70 6c |ements c|an be pl|
|00001940| 61 63 65 64 2e 20 54 68 | 65 73 65 20 61 72 65 3a |aced. Th|ese are:|
|00001950| 0a 25 20 5c 62 65 67 69 | 6e 7b 65 6e 75 6d 65 72 |.% \begi|n{enumer|
|00001960| 61 74 65 7d 0a 25 20 5c | 69 74 65 6d 20 7c 5c 70 |ate}.% \|item |\p|
|00001970| 61 72 61 6d 65 74 65 72 | 70 72 6f 62 6c 65 6d 7b |arameter|problem{|
|00001980| 74 65 78 74 7d 7c 3a 20 | 75 73 65 64 20 74 6f 20 |text}|: |used to |
|00001990| 63 6f 6d 6d 75 6e 69 63 | 61 74 65 20 74 6f 20 74 |communic|ate to t|
|000019a0| 68 65 0a 25 20 6d 61 69 | 6e 74 61 69 6e 65 72 20 |he.% mai|ntainer |
|000019b0| 6f 66 20 74 68 65 20 70 | 72 6f 62 6c 65 6d 73 20 |of the p|roblems |
|000019c0| 74 68 65 20 70 6f 73 73 | 69 62 69 6c 69 74 69 65 |the poss|ibilitie|
|000019d0| 73 20 6f 66 66 65 72 65 | 64 0a 25 20 62 79 20 74 |s offere|d.% by t|
|000019e0| 68 65 20 74 72 61 6e 73 | 66 65 72 20 6f 66 20 6d |he trans|fer of m|
|000019f0| 61 63 72 6f 20 7c 5c 70 | 61 72 61 6d 65 74 65 72 |acro |\p|arameter|
|00001a00| 7c 20 6f 6e 20 70 6f 73 | 69 6e 67 0a 25 20 74 68 || on pos|ing.% th|
|00001a10| 65 20 71 75 65 73 74 69 | 6f 6e 3b 20 61 6e 20 65 |e questi|on; an e|
|00001a20| 78 61 6d 70 6c 65 20 6f | 66 20 74 68 69 73 20 77 |xample o|f this w|
|00001a30| 69 6c 6c 20 66 6f 6c 6c | 6f 77 2e 0a 25 20 5c 69 |ill foll|ow..% \i|
|00001a40| 74 65 6d 20 7c 5c 70 72 | 6f 62 6c 65 6d 64 61 74 |tem |\pr|oblemdat|
|00001a50| 65 7c 3a 20 61 20 6d 61 | 63 72 6f 20 74 6f 20 72 |e|: a ma|cro to r|
|00001a60| 65 6d 65 6d 62 65 72 20 | 6f 6e 20 77 68 69 63 68 |emember |on which|
|00001a70| 0a 25 20 64 61 79 20 74 | 68 65 20 70 72 6f 62 6c |.% day t|he probl|
|00001a80| 65 6d 20 77 61 73 20 62 | 6f 72 6e 3b 0a 25 20 5c |em was b|orn;.% \|
|00001a90| 69 74 65 6d 20 7c 5c 62 | 65 67 69 6e 7b 70 72 6f |item |\b|egin{pro|
|00001aa0| 62 6c 65 6d 7d 5b 23 31 | 5d 7c 3b 20 74 68 65 20 |blem}[#1|]|; the |
|00001ab0| 6f 70 74 69 6f 6e 61 6c | 20 70 61 72 61 6d 65 74 |optional| paramet|
|00001ac0| 65 72 0a 25 20 63 61 6e | 20 68 61 76 65 20 74 68 |er.% can| have th|
|00001ad0| 65 20 76 61 6c 75 65 20 | 7c 5c 63 6f 6d 70 61 63 |e value ||\compac|
|00001ae0| 74 7c 20 28 6e 6f 20 70 | 61 67 65 62 72 65 61 6b |t| (no p|agebreak|
|00001af0| 20 77 69 74 68 69 6e 20 | 70 72 6f 62 6c 65 6d 2c | within |problem,|
|00001b00| 20 64 65 66 61 75 6c 74 | 29 0a 25 20 6f 72 20 74 | default|).% or t|
|00001b10| 68 65 20 76 61 6c 75 65 | 20 7c 5c 73 70 6c 69 74 |he value| |\split|
|00001b20| 7c 20 28 70 61 67 65 62 | 72 65 61 6b 20 6d 61 79 || (pageb|reak may|
|00001b30| 20 6f 63 63 75 72 20 69 | 6e 20 70 72 6f 62 6c 65 | occur i|n proble|
|00001b40| 6d 29 2e 0a 25 20 4e 2e | 62 2e 20 74 68 65 20 70 |m)..% N.|b. the p|
|00001b50| 72 65 76 69 6f 75 73 20 | 74 77 6f 20 69 74 65 6d |revious |two item|
|00001b60| 73 20 63 61 6e 20 62 65 | 20 70 6c 61 63 65 64 20 |s can be| placed |
|00001b70| 62 65 66 6f 72 65 20 6f | 72 20 77 69 74 68 69 6e |before o|r within|
|00001b80| 0a 25 20 74 68 65 20 65 | 6e 76 69 72 6f 6e 6d 65 |.% the e|nvironme|
|00001b90| 6e 74 2e 0a 25 20 5c 69 | 74 65 6d 20 7c 5c 73 63 |nt..% \i|tem |\sc|
|00001ba0| 6f 72 65 7c 3a 20 75 73 | 65 20 74 68 69 73 20 6d |ore|: us|e this m|
|00001bb0| 61 63 72 6f 20 66 6f 72 | 20 74 68 65 20 6e 75 6d |acro for| the num|
|00001bc0| 62 65 72 20 6f 66 0a 25 | 20 70 6f 69 6e 74 73 20 |ber of.%| points |
|00001bd0| 74 68 65 20 61 6e 73 77 | 65 72 20 69 73 20 77 6f |the answ|er is wo|
|00001be0| 72 74 68 3b 20 69 74 20 | 69 73 20 70 6f 73 73 69 |rth; it |is possi|
|00001bf0| 62 6c 65 20 74 6f 20 69 | 6e 63 6c 75 64 65 0a 25 |ble to i|nclude.%|
|00001c00| 20 73 65 76 65 72 61 6c | 20 73 63 6f 72 65 20 69 | several| score i|
|00001c10| 74 65 6d 73 20 69 6e 20 | 6f 6e 65 20 70 72 6f 62 |tems in |one prob|
|00001c20| 6c 65 6d 2c 20 74 68 65 | 79 20 67 65 74 20 74 6f |lem, the|y get to|
|00001c30| 74 61 6c 6c 65 64 0a 25 | 20 61 74 20 74 68 65 20 |talled.%| at the |
|00001c40| 65 6e 64 2e 20 49 74 73 | 20 76 61 6c 75 65 20 69 |end. Its| value i|
|00001c50| 73 20 6e 6f 74 20 73 68 | 6f 77 6e 20 77 68 65 6e |s not sh|own when|
|00001c60| 20 61 6e 20 65 78 61 6d | 20 69 73 20 74 79 70 65 | an exam| is type|
|00001c70| 73 65 74 2c 0a 25 20 74 | 68 65 20 73 74 75 64 65 |set,.% t|he stude|
|00001c80| 6e 74 20 6d 75 73 74 20 | 65 61 72 6e 20 74 68 65 |nt must |earn the|
|00001c90| 73 65 20 70 6f 69 6e 74 | 73 21 0a 25 20 5c 69 74 |se point|s!.% \it|
|00001ca0| 65 6d 20 74 65 78 74 20 | 6f 66 20 74 68 65 20 71 |em text |of the q|
|00001cb0| 75 65 73 74 69 6f 6e 2e | 0a 25 20 5c 69 74 65 6d |uestion.|.% \item|
|00001cc0| 20 74 68 65 20 61 6e 73 | 77 65 72 20 6f 72 20 6d | the ans|wer or m|
|00001cd0| 75 6c 74 69 70 6c 65 20 | 63 68 6f 69 63 65 20 6c |ultiple |choice l|
|00001ce0| 69 73 74 3b 0a 25 20 73 | 65 65 20 74 68 65 20 64 |ist;.% s|ee the d|
|00001cf0| 65 73 63 72 69 70 74 69 | 6f 6e 20 62 65 6c 6f 77 |escripti|on below|
|00001d00| 2e 0a 25 20 5c 69 74 65 | 6d 20 7c 5c 72 65 6d 61 |..% \ite|m |\rema|
|00001d10| 72 6b 5b 23 31 5d 7b 23 | 32 7d 7c 3a 20 61 20 62 |rk[#1]{#|2}|: a b|
|00001d20| 6f 78 65 64 20 72 65 6d | 61 72 6b 20 77 69 74 68 |oxed rem|ark with|
|00001d30| 20 68 65 61 64 69 6e 67 | 20 5c 23 31 20 61 6e 64 | heading| \#1 and|
|00001d40| 20 62 6f 64 79 20 5c 23 | 32 2e 0a 25 20 5c 69 74 | body \#|2..% \it|
|00001d50| 65 6d 20 7c 5c 65 6e 64 | 7b 70 72 6f 62 6c 65 6d |em |\end|{problem|
|00001d60| 7d 7c 2e 0a 25 20 5c 65 | 6e 64 7b 65 6e 75 6d 65 |}|..% \e|nd{enume|
|00001d70| 72 61 74 65 7d 0a 25 0a | 25 20 5c 6d 65 64 73 6b |rate}.%.|% \medsk|
|00001d80| 69 70 20 0a 25 20 5c 62 | 65 67 69 6e 7b 63 65 6e |ip .% \b|egin{cen|
|00001d90| 74 65 72 7d 5c 73 6d 61 | 6c 6c 0a 25 20 5c 66 62 |ter}\sma|ll.% \fb|
|00001da0| 6f 78 7b 70 72 6f 62 6c | 65 6d 20 2d 2d 2d 20 63 |ox{probl|em --- c|
|00001db0| 6f 64 69 6e 67 20 2d 2d | 2d 7d 0a 25 20 5c 70 61 |oding --|-}.% \pa|
|00001dc0| 72 5c 73 6d 61 6c 6c 73 | 6b 69 70 0a 25 20 5c 62 |r\smalls|kip.% \b|
|00001dd0| 65 67 69 6e 7b 76 65 72 | 62 61 74 69 6d 7d 0a 25 |egin{ver|batim}.%|
|00001de0| 20 5c 70 72 6f 62 6c 65 | 6d 64 61 74 65 7b 5c 74 | \proble|mdate{\t|
|00001df0| 6f 64 61 79 7d 0a 25 20 | 5c 62 65 67 69 6e 7b 70 |oday}.% |\begin{p|
|00001e00| 72 6f 62 6c 65 6d 7d 0a | 25 20 57 68 61 74 20 69 |roblem}.|% What i|
|00001e10| 73 20 74 68 65 20 71 75 | 65 73 74 69 6f 6e 3f 0a |s the qu|estion?.|
|00001e20| 25 20 5c 73 63 6f 72 65 | 7b 32 7d 0a 25 20 5c 73 |% \score|{2}.% \s|
|00001e30| 68 6f 72 74 61 6e 73 77 | 65 72 7b 54 6f 20 62 65 |hortansw|er{To be|
|00001e40| 20 6f 72 20 6e 6f 74 20 | 74 6f 20 62 65 2e 7d 0a | or not |to be.}.|
|00001e50| 25 20 5c 65 6e 64 7b 70 | 72 6f 62 6c 65 6d 7d 0a |% \end{p|roblem}.|
|00001e60| 25 20 5c 65 6e 64 7b 76 | 65 72 62 61 74 69 6d 7d |% \end{v|erbatim}|
|00001e70| 0a 25 0a 25 20 5c 6d 65 | 64 73 6b 69 70 0a 25 20 |.%.% \me|dskip.% |
|00001e80| 5c 66 62 6f 78 7b 70 72 | 6f 62 6c 65 6d 20 2d 2d |\fbox{pr|oblem --|
|00001e90| 2d 20 72 65 73 75 6c 74 | 20 2d 2d 2d 20 0a 25 20 |- result| --- .% |
|00001ea0| 6c 65 66 74 20 77 69 74 | 68 6f 75 74 20 5c 65 6d |left wit|hout \em|
|00001eb0| 70 68 7b 61 6e 73 77 65 | 72 73 7d 2c 20 72 69 67 |ph{answe|rs}, rig|
|00001ec0| 68 74 20 77 69 74 68 20 | 5c 65 6d 70 68 7b 61 6e |ht with |\emph{an|
|00001ed0| 73 77 65 72 73 2c 20 73 | 65 72 69 65 73 7d 7d 0a |swers, s|eries}}.|
|00001ee0| 25 20 5c 70 61 72 5c 73 | 6d 61 6c 6c 73 6b 69 70 |% \par\s|mallskip|
|00001ef0| 0a 25 20 5c 70 61 72 62 | 6f 78 5b 74 5d 7b 2e 33 |.% \parb|ox[t]{.3|
|00001f00| 33 5c 6c 69 6e 65 77 69 | 64 74 68 7d 7b 5c 61 6e |3\linewi|dth}{\an|
|00001f10| 73 77 65 72 73 66 61 6c | 73 65 0a 25 20 5c 70 72 |swersfal|se.% \pr|
|00001f20| 6f 62 6c 65 6d 64 61 74 | 65 7b 5c 74 6f 64 61 79 |oblemdat|e{\today|
|00001f30| 7d 0a 25 20 5c 62 65 67 | 69 6e 7b 70 72 6f 62 6c |}.% \beg|in{probl|
|00001f40| 65 6d 7d 0a 25 20 57 68 | 61 74 20 69 73 20 74 68 |em}.% Wh|at is th|
|00001f50| 65 20 71 75 65 73 74 69 | 6f 6e 3f 0a 25 20 5c 73 |e questi|on?.% \s|
|00001f60| 63 6f 72 65 7b 32 7d 0a | 25 20 5c 73 68 6f 72 74 |core{2}.|% \short|
|00001f70| 61 6e 73 77 65 72 7b 54 | 6f 20 62 65 20 6f 72 20 |answer{T|o be or |
|00001f80| 6e 6f 74 20 74 6f 20 62 | 65 2e 7d 0a 25 20 5c 65 |not to b|e.}.% \e|
|00001f90| 6e 64 7b 70 72 6f 62 6c | 65 6d 7d 0a 25 20 7d 5c |nd{probl|em}.% }\|
|00001fa0| 68 73 70 61 63 65 7b 32 | 63 6d 7d 5c 70 61 72 62 |hspace{2|cm}\parb|
|00001fb0| 6f 78 5b 74 5d 7b 2e 33 | 33 5c 6c 69 6e 65 77 69 |ox[t]{.3|3\linewi|
|00001fc0| 64 74 68 7d 7b 5c 61 6e | 73 77 65 72 73 74 72 75 |dth}{\an|swerstru|
|00001fd0| 65 5c 73 65 72 69 65 73 | 74 72 75 65 0a 25 20 5c |e\series|true.% \|
|00001fe0| 70 72 6f 62 6c 65 6d 64 | 61 74 65 7b 5c 74 6f 64 |problemd|ate{\tod|
|00001ff0| 61 79 7d 0a 25 20 5c 62 | 65 67 69 6e 7b 70 72 6f |ay}.% \b|egin{pro|
|00002000| 62 6c 65 6d 7d 0a 25 20 | 57 68 61 74 20 69 73 20 |blem}.% |What is |
|00002010| 74 68 65 20 71 75 65 73 | 74 69 6f 6e 3f 0a 25 20 |the ques|tion?.% |
|00002020| 5c 73 63 6f 72 65 7b 32 | 7d 0a 25 20 5c 73 68 6f |\score{2|}.% \sho|
|00002030| 72 74 61 6e 73 77 65 72 | 7b 54 6f 20 62 65 20 6f |rtanswer|{To be o|
|00002040| 72 20 6e 6f 74 20 74 6f | 20 62 65 2e 7d 0a 25 20 |r not to| be.}.% |
|00002050| 5c 65 6e 64 7b 70 72 6f | 62 6c 65 6d 7d 0a 25 20 |\end{pro|blem}.% |
|00002060| 7d 0a 25 20 5c 65 6e 64 | 7b 63 65 6e 74 65 72 7d |}.% \end|{center}|
|00002070| 0a 25 0a 25 20 54 68 65 | 20 6e 65 78 74 20 65 78 |.%.% The| next ex|
|00002080| 61 6d 70 6c 65 20 73 68 | 6f 77 73 20 74 68 65 20 |ample sh|ows the |
|00002090| 75 73 65 20 6f 66 20 61 | 20 70 61 72 61 6d 65 74 |use of a| paramet|
|000020a0| 65 72 20 66 6f 72 20 74 | 68 65 20 73 65 6c 65 63 |er for t|he selec|
|000020b0| 74 69 6f 6e 0a 25 20 6f | 66 20 61 6c 74 65 72 6e |tion.% o|f altern|
|000020c0| 61 74 65 20 71 75 65 73 | 74 69 6f 6e 73 2e 0a 25 |ate ques|tions..%|
|000020d0| 0a 25 20 5c 6d 65 64 73 | 6b 69 70 20 0a 25 20 5c |.% \meds|kip .% \|
|000020e0| 62 65 67 69 6e 7b 63 65 | 6e 74 65 72 7d 5c 73 6d |begin{ce|nter}\sm|
|000020f0| 61 6c 6c 0a 25 20 5c 66 | 62 6f 78 7b 70 61 72 61 |all.% \f|box{para|
|00002100| 6d 65 74 65 72 70 72 6f | 62 6c 65 6d 20 2d 2d 2d |meterpro|blem ---|
|00002110| 20 63 6f 64 69 6e 67 20 | 2d 2d 2d 7d 0a 25 20 5c | coding |---}.% \|
|00002120| 70 61 72 5c 73 6d 61 6c | 6c 73 6b 69 70 0a 25 20 |par\smal|lskip.% |
|00002130| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|00002140| 0a 25 20 5c 70 72 6f 62 | 6c 65 6d 64 61 74 65 7b |.% \prob|lemdate{|
|00002150| 5c 74 6f 64 61 79 7d 0a | 25 20 5c 70 61 72 61 6d |\today}.|% \param|
|00002160| 65 74 65 72 70 72 6f 62 | 6c 65 6d 7b 31 3d 20 74 |eterprob|lem{1= t|
|00002170| 6f 20 62 65 5c 5c 32 3d | 20 6e 6f 74 20 74 6f 20 |o be\\2=| not to |
|00002180| 62 65 7d 0a 25 20 5c 62 | 65 67 69 6e 7b 70 72 6f |be}.% \b|egin{pro|
|00002190| 62 6c 65 6d 7d 0a 25 20 | 5c 73 63 6f 72 65 7b 32 |blem}.% |\score{2|
|000021a0| 7d 0a 25 20 5c 64 65 66 | 5c 70 61 72 61 6d 65 74 |}.% \def|\paramet|
|000021b0| 65 72 7b 32 7d 20 25 20 | 6e 6f 72 6d 61 6c 6c 79 |er{2} % |normally|
|000021c0| 20 63 6f 6d 65 73 20 66 | 72 6f 6d 20 5c 71 75 65 | comes f|rom \que|
|000021d0| 73 74 69 6f 6e 5b 32 5d | 2e 2e 2e 0a 25 20 57 68 |stion[2]|....% Wh|
|000021e0| 61 74 20 69 73 5c 69 66 | 6e 75 6d 5c 70 61 72 61 |at is\if|num\para|
|000021f0| 6d 65 74 65 72 3d 31 5c | 72 65 6c 61 78 5c 65 6c |meter=1\|relax\el|
|00002200| 73 65 20 6e 27 74 5c 66 | 69 5c 20 74 68 65 20 71 |se n't\f|i\ the q|
|00002210| 75 65 73 74 69 6f 6e 3f | 0a 25 20 5c 73 68 6f 72 |uestion?|.% \shor|
|00002220| 74 61 6e 73 77 65 72 7b | 5c 69 66 6e 75 6d 5c 70 |tanswer{|\ifnum\p|
|00002230| 61 72 61 6d 65 74 65 72 | 3d 31 5c 72 65 6c 61 78 |arameter|=1\relax|
|00002240| 20 54 6f 20 62 65 20 6f | 72 20 6e 5c 65 6c 73 65 | To be o|r n\else|
|00002250| 20 4e 5c 66 69 20 6f 74 | 20 74 6f 20 62 65 2e 7d | N\fi ot| to be.}|
|00002260| 0a 25 20 5c 65 6e 64 7b | 70 72 6f 62 6c 65 6d 7d |.% \end{|problem}|
|00002270| 0a 25 20 5c 65 6e 64 7b | 76 65 72 62 61 74 69 6d |.% \end{|verbatim|
|00002280| 7d 0a 25 0a 25 20 5c 6d | 65 64 73 6b 69 70 0a 25 |}.%.% \m|edskip.%|
|00002290| 20 5c 66 62 6f 78 7b 70 | 61 72 61 6d 65 74 65 72 | \fbox{p|arameter|
|000022a0| 70 72 6f 62 6c 65 6d 20 | 2d 2d 2d 20 72 65 73 75 |problem |--- resu|
|000022b0| 6c 74 20 2d 2d 2d 20 0a | 25 20 6c 65 66 74 20 70 |lt --- .|% left p|
|000022c0| 61 72 61 6d 65 74 65 72 | 20 3d 20 31 2c 20 72 69 |arameter| = 1, ri|
|000022d0| 67 68 74 20 70 61 72 61 | 6d 65 74 65 72 20 3d 20 |ght para|meter = |
|000022e0| 32 7d 0a 25 20 5c 70 61 | 72 5c 73 6d 61 6c 6c 73 |2}.% \pa|r\smalls|
|000022f0| 6b 69 70 0a 25 20 5c 70 | 61 72 62 6f 78 5b 74 5d |kip.% \p|arbox[t]|
|00002300| 7b 2e 34 35 5c 6c 69 6e | 65 77 69 64 74 68 7d 7b |{.45\lin|ewidth}{|
|00002310| 5c 61 6e 73 77 65 72 73 | 74 72 75 65 5c 61 6e 73 |\answers|true\ans|
|00002320| 77 65 72 73 74 72 75 65 | 5c 73 65 72 69 65 73 74 |werstrue|\seriest|
|00002330| 72 75 65 0a 25 20 5c 70 | 72 6f 62 6c 65 6d 64 61 |rue.% \p|roblemda|
|00002340| 74 65 7b 5c 74 6f 64 61 | 79 7d 0a 25 20 5c 70 61 |te{\toda|y}.% \pa|
|00002350| 72 61 6d 65 74 65 72 70 | 72 6f 62 6c 65 6d 7b 31 |rameterp|roblem{1|
|00002360| 3d 20 74 6f 20 62 65 5c | 5c 32 3d 20 6e 6f 74 20 |= to be\|\2= not |
|00002370| 74 6f 20 62 65 7d 0a 25 | 20 5c 62 65 67 69 6e 7b |to be}.%| \begin{|
|00002380| 70 72 6f 62 6c 65 6d 7d | 0a 25 20 5c 73 63 6f 72 |problem}|.% \scor|
|00002390| 65 7b 32 7d 0a 25 20 5c | 64 65 66 5c 70 61 72 61 |e{2}.% \|def\para|
|000023a0| 6d 65 74 65 72 7b 31 7d | 0a 25 20 57 68 61 74 20 |meter{1}|.% What |
|000023b0| 69 73 5c 69 66 6e 75 6d | 5c 70 61 72 61 6d 65 74 |is\ifnum|\paramet|
|000023c0| 65 72 3d 31 5c 72 65 6c | 61 78 5c 65 6c 73 65 20 |er=1\rel|ax\else |
|000023d0| 6e 27 74 5c 66 69 5c 20 | 74 68 65 20 71 75 65 73 |n't\fi\ |the ques|
|000023e0| 74 69 6f 6e 3f 0a 25 20 | 5c 75 6e 73 6b 69 70 5c |tion?.% |\unskip\|
|000023f0| 73 68 6f 72 74 61 6e 73 | 77 65 72 7b 5c 69 66 6e |shortans|wer{\ifn|
|00002400| 75 6d 5c 70 61 72 61 6d | 65 74 65 72 3d 31 5c 72 |um\param|eter=1\r|
|00002410| 65 6c 61 78 20 54 6f 20 | 62 65 20 6f 72 20 6e 5c |elax To |be or n\|
|00002420| 65 6c 73 65 20 4e 5c 66 | 69 20 6f 74 20 74 6f 20 |else N\f|i ot to |
|00002430| 62 65 2e 7d 0a 25 20 5c | 65 6e 64 7b 70 72 6f 62 |be.}.% \|end{prob|
|00002440| 6c 65 6d 7d 0a 25 20 7d | 5c 68 73 70 61 63 65 7b |lem}.% }|\hspace{|
|00002450| 31 30 6d 6d 7d 5c 70 61 | 72 62 6f 78 5b 74 5d 7b |10mm}\pa|rbox[t]{|
|00002460| 2e 34 35 5c 6c 69 6e 65 | 77 69 64 74 68 7d 7b 5c |.45\line|width}{\|
|00002470| 61 6e 73 77 65 72 73 74 | 72 75 65 5c 73 65 72 69 |answerst|rue\seri|
|00002480| 65 73 74 72 75 65 0a 25 | 20 5c 70 72 6f 62 6c 65 |estrue.%| \proble|
|00002490| 6d 64 61 74 65 7b 5c 74 | 6f 64 61 79 7d 0a 25 20 |mdate{\t|oday}.% |
|000024a0| 5c 70 61 72 61 6d 65 74 | 65 72 70 72 6f 62 6c 65 |\paramet|erproble|
|000024b0| 6d 7b 31 3d 20 74 6f 20 | 62 65 5c 5c 32 3d 20 6e |m{1= to |be\\2= n|
|000024c0| 6f 74 20 74 6f 20 62 65 | 7d 0a 25 20 5c 62 65 67 |ot to be|}.% \beg|
|000024d0| 69 6e 7b 70 72 6f 62 6c | 65 6d 7d 0a 25 20 5c 73 |in{probl|em}.% \s|
|000024e0| 63 6f 72 65 7b 32 7d 0a | 25 20 5c 64 65 66 5c 70 |core{2}.|% \def\p|
|000024f0| 61 72 61 6d 65 74 65 72 | 7b 32 7d 0a 25 20 57 68 |arameter|{2}.% Wh|
|00002500| 61 74 20 69 73 5c 69 66 | 6e 75 6d 5c 70 61 72 61 |at is\if|num\para|
|00002510| 6d 65 74 65 72 3d 31 5c | 72 65 6c 61 78 5c 65 6c |meter=1\|relax\el|
|00002520| 73 65 20 6e 27 74 5c 66 | 69 5c 20 74 68 65 20 71 |se n't\f|i\ the q|
|00002530| 75 65 73 74 69 6f 6e 3f | 0a 25 20 5c 75 6e 73 6b |uestion?|.% \unsk|
|00002540| 69 70 5c 73 68 6f 72 74 | 61 6e 73 77 65 72 7b 5c |ip\short|answer{\|
|00002550| 69 66 6e 75 6d 5c 70 61 | 72 61 6d 65 74 65 72 3d |ifnum\pa|rameter=|
|00002560| 31 5c 72 65 6c 61 78 20 | 54 6f 20 62 65 20 6f 72 |1\relax |To be or|
|00002570| 20 6e 5c 65 6c 73 65 20 | 4e 5c 66 69 20 6f 74 20 | n\else |N\fi ot |
|00002580| 74 6f 20 62 65 2e 7d 0a | 25 20 5c 65 6e 64 7b 70 |to be.}.|% \end{p|
|00002590| 72 6f 62 6c 65 6d 7d 0a | 25 20 7d 0a 25 20 5c 65 |roblem}.|% }.% \e|
|000025a0| 6e 64 7b 63 65 6e 74 65 | 72 7d 0a 25 0a 25 20 41 |nd{cente|r}.%.% A|
|000025b0| 6e 6f 74 68 65 72 20 6d | 65 74 68 6f 64 20 66 6f |nother m|ethod fo|
|000025c0| 72 20 74 68 65 20 73 65 | 6c 65 63 74 69 6f 6e 20 |r the se|lection |
|000025d0| 6f 66 20 61 6c 74 65 72 | 6e 61 74 69 76 65 73 20 |of alter|natives |
|000025e0| 69 73 20 76 69 61 20 74 | 68 65 0a 25 20 6d 65 63 |is via t|he.% mec|
|000025f0| 68 61 6e 69 73 6d 20 69 | 6d 70 6c 65 6d 65 6e 74 |hanism i|mplement|
|00002600| 65 64 20 69 6e 20 6d 61 | 63 72 6f 73 20 7c 5c 6c |ed in ma|cros |\l|
|00002610| 6f 61 64 69 74 65 6d 7c | 2c 20 7c 64 75 6d 70 69 |oaditem||, |dumpi|
|00002620| 74 65 6d 6e 6f 7c 0a 25 | 20 61 6e 64 20 66 72 69 |temno|.%| and fri|
|00002630| 65 6e 64 73 20 28 53 65 | 65 20 73 65 63 74 69 6f |ends (Se|e sectio|
|00002640| 6e 73 7e 5c 72 65 66 7b | 72 65 66 3a 64 75 6d 70 |ns~\ref{|ref:dump|
|00002650| 31 7d 20 61 6e 64 20 5c | 72 65 66 7b 72 65 66 3a |1} and \|ref{ref:|
|00002660| 64 75 6d 70 32 7d 2e 0a | 25 20 50 69 65 63 65 73 |dump2}..|% Pieces|
|00002670| 20 74 65 78 74 20 63 61 | 6e 20 62 65 20 6c 6f 61 | text ca|n be loa|
|00002680| 64 65 64 20 28 69 6e 20 | 74 68 69 73 20 69 6d 70 |ded (in |this imp|
|00002690| 6c 65 6d 65 6e 74 61 74 | 69 6f 6e 20 61 74 20 6d |lementat|ion at m|
|000026a0| 6f 73 74 20 35 29 20 61 | 6e 64 0a 25 20 73 65 6c |ost 5) a|nd.% sel|
|000026b0| 65 63 74 69 76 65 6c 79 | 20 64 75 6d 70 65 64 20 |ectively| dumped |
|000026c0| 69 6e 74 6f 20 74 68 65 | 20 74 79 70 65 73 65 74 |into the| typeset|
|000026d0| 20 73 74 72 65 61 6d 2e | 0a 25 0a 25 0a 25 20 5c | stream.|.%.%.% \|
|000026e0| 6d 65 64 73 6b 69 70 20 | 0a 25 20 5c 62 65 67 69 |medskip |.% \begi|
|000026f0| 6e 7b 63 65 6e 74 65 72 | 7d 5c 73 6d 61 6c 6c 0a |n{center|}\small.|
|00002700| 25 20 5c 66 62 6f 78 7b | 6c 6f 61 64 20 61 6e 64 |% \fbox{|load and|
|00002710| 20 64 75 6d 70 20 2d 2d | 2d 20 63 6f 64 69 6e 67 | dump --|- coding|
|00002720| 20 2d 2d 2d 7d 0a 25 20 | 5c 70 61 72 5c 73 6d 61 | ---}.% |\par\sma|
|00002730| 6c 6c 73 6b 69 70 0a 25 | 20 5c 62 65 67 69 6e 7b |llskip.%| \begin{|
|00002740| 76 65 72 62 61 74 69 6d | 7d 0a 25 20 5c 53 52 73 |verbatim|}.% \SRs|
|00002750| 65 74 7b 33 34 39 7d 20 | 20 20 20 20 20 20 20 20 |et{349} | |
|00002760| 20 20 20 20 20 25 20 73 | 74 61 72 74 75 70 20 72 | % s|tartup r|
|00002770| 61 6e 64 6f 6d 20 67 65 | 6e 65 72 61 74 6f 72 0a |andom ge|nerator.|
|00002780| 25 20 5c 72 65 73 65 74 | 6c 6f 61 64 63 6f 75 6e |% \reset|loadcoun|
|00002790| 74 65 72 20 20 20 20 20 | 20 20 20 25 20 69 6e 69 |ter | % ini|
|000027a0| 74 69 61 6c 69 7a 65 20 | 6c 6f 61 64 20 73 74 61 |tialize |load sta|
|000027b0| 63 6b 0a 25 20 5c 6c 6f | 61 64 69 74 65 6d 7b 5c |ck.% \lo|aditem{\|
|000027c0| 66 62 6f 78 7b 69 74 65 | 6d 20 31 7d 5c 73 70 61 |fbox{ite|m 1}\spa|
|000027d0| 63 65 7d 20 25 20 6c 6f | 61 64 20 34 20 69 74 65 |ce} % lo|ad 4 ite|
|000027e0| 6d 73 20 6f 66 20 74 65 | 78 74 0a 25 20 5c 6c 6f |ms of te|xt.% \lo|
|000027f0| 61 64 69 74 65 6d 7b 5c | 66 62 6f 78 7b 69 74 65 |aditem{\|fbox{ite|
|00002800| 6d 20 32 7d 5c 73 70 61 | 63 65 7d 0a 25 20 5c 6c |m 2}\spa|ce}.% \l|
|00002810| 6f 61 64 69 74 65 6d 7b | 5c 66 62 6f 78 7b 69 74 |oaditem{|\fbox{it|
|00002820| 65 6d 20 33 7d 5c 73 70 | 61 63 65 7d 0a 25 20 5c |em 3}\sp|ace}.% \|
|00002830| 6c 6f 61 64 69 74 65 6d | 7b 5c 66 62 6f 78 7b 69 |loaditem|{\fbox{i|
|00002840| 74 65 6d 20 34 7d 5c 73 | 70 61 63 65 7d 0a 25 20 |tem 4}\s|pace}.% |
|00002850| 48 65 72 65 20 63 6f 6d | 65 73 20 6e 72 7e 32 3a |Here com|es nr~2:|
|00002860| 20 5c 64 75 6d 70 69 74 | 65 6d 6e 6f 7b 32 7d 5c | \dumpit|emno{2}\|
|00002870| 70 61 72 0a 25 20 5c 73 | 68 75 66 66 6c 65 20 20 |par.% \s|huffle |
|00002880| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 25 | | %|
|00002890| 20 72 61 6e 64 6f 6d 69 | 7a 65 0a 25 20 48 65 72 | randomi|ze.% Her|
|000028a0| 65 20 63 6f 6d 65 73 20 | 6e 72 7e 32 20 61 67 61 |e comes |nr~2 aga|
|000028b0| 69 6e 20 61 66 74 65 72 | 20 72 61 6e 64 6f 6d 69 |in after| randomi|
|000028c0| 7a 61 74 69 6f 6e 3a 20 | 5c 64 75 6d 70 69 74 65 |zation: |\dumpite|
|000028d0| 6d 6e 6f 7b 32 7d 5c 70 | 61 72 0a 25 20 44 75 6d |mno{2}\p|ar.% Dum|
|000028e0| 70 20 74 68 65 20 77 68 | 6f 6c 65 20 6c 6f 74 3a |p the wh|ole lot:|
|000028f0| 20 5c 64 75 6d 70 69 74 | 65 6d 73 0a 25 20 5c 65 | \dumpit|ems.% \e|
|00002900| 6e 64 7b 76 65 72 62 61 | 74 69 6d 7d 0a 25 0a 25 |nd{verba|tim}.%.%|
|00002910| 20 5c 6d 65 64 73 6b 69 | 70 0a 25 20 5c 66 62 6f | \medski|p.% \fbo|
|00002920| 78 7b 6c 6f 61 64 20 61 | 6e 64 20 64 75 6d 70 20 |x{load a|nd dump |
|00002930| 2d 2d 2d 20 72 65 73 75 | 6c 74 20 2d 2d 2d 7d 0a |--- resu|lt ---}.|
|00002940| 25 20 5c 70 61 72 5c 73 | 6d 61 6c 6c 73 6b 69 70 |% \par\s|mallskip|
|00002950| 0a 25 20 5c 70 61 72 62 | 6f 78 5b 74 5d 7b 2e 38 |.% \parb|ox[t]{.8|
|00002960| 5c 6c 69 6e 65 77 69 64 | 74 68 7d 7b 25 0a 25 20 |\linewid|th}{%.% |
|00002970| 5c 53 52 73 65 74 7b 33 | 34 39 7d 0a 25 20 5c 72 |\SRset{3|49}.% \r|
|00002980| 65 73 65 74 6c 6f 61 64 | 63 6f 75 6e 74 65 72 0a |esetload|counter.|
|00002990| 25 20 5c 6c 6f 61 64 69 | 74 65 6d 7b 5c 66 62 6f |% \loadi|tem{\fbo|
|000029a0| 78 7b 69 74 65 6d 20 31 | 7d 5c 73 70 61 63 65 7d |x{item 1|}\space}|
|000029b0| 0a 25 20 5c 6c 6f 61 64 | 69 74 65 6d 7b 5c 66 62 |.% \load|item{\fb|
|000029c0| 6f 78 7b 69 74 65 6d 20 | 32 7d 5c 73 70 61 63 65 |ox{item |2}\space|
|000029d0| 7d 0a 25 20 5c 6c 6f 61 | 64 69 74 65 6d 7b 5c 66 |}.% \loa|ditem{\f|
|000029e0| 62 6f 78 7b 69 74 65 6d | 20 33 7d 5c 73 70 61 63 |box{item| 3}\spac|
|000029f0| 65 7d 0a 25 20 5c 6c 6f | 61 64 69 74 65 6d 7b 5c |e}.% \lo|aditem{\|
|00002a00| 66 62 6f 78 7b 69 74 65 | 6d 20 34 7d 5c 73 70 61 |fbox{ite|m 4}\spa|
|00002a10| 63 65 7d 0a 25 20 48 65 | 72 65 20 63 6f 6d 65 73 |ce}.% He|re comes|
|00002a20| 20 6e 72 7e 32 3a 20 5c | 64 75 6d 70 69 74 65 6d | nr~2: \|dumpitem|
|00002a30| 6e 6f 7b 32 7d 5c 70 61 | 72 0a 25 20 5c 73 68 75 |no{2}\pa|r.% \shu|
|00002a40| 66 66 6c 65 0a 25 20 4e | 72 7e 32 20 61 67 61 69 |ffle.% N|r~2 agai|
|00002a50| 6e 20 61 66 74 65 72 20 | 72 61 6e 64 6f 6d 69 7a |n after |randomiz|
|00002a60| 61 74 69 6f 6e 3a 20 5c | 64 75 6d 70 69 74 65 6d |ation: \|dumpitem|
|00002a70| 6e 6f 7b 32 7d 5c 70 61 | 72 0a 25 20 44 75 6d 70 |no{2}\pa|r.% Dump|
|00002a80| 20 74 68 65 20 77 68 6f | 6c 65 20 6c 6f 74 3a 20 | the who|le lot: |
|00002a90| 5c 64 75 6d 70 69 74 65 | 6d 73 0a 25 20 7d 0a 25 |\dumpite|ms.% }.%|
|00002aa0| 20 5c 65 6e 64 7b 63 65 | 6e 74 65 72 7d 0a 25 0a | \end{ce|nter}.%.|
|00002ab0| 25 0a 25 20 5c 73 75 62 | 73 65 63 74 69 6f 6e 7b |%.% \sub|section{|
|00002ac0| 41 6e 73 77 65 72 73 7d | 0a 25 20 54 68 65 20 62 |Answers}|.% The b|
|00002ad0| 61 73 69 63 20 6d 61 63 | 72 6f 73 20 66 6f 72 20 |asic mac|ros for |
|00002ae0| 73 68 6f 77 69 6e 67 20 | 61 6e 64 20 73 75 70 70 |showing |and supp|
|00002af0| 72 65 73 73 69 6e 67 20 | 61 6e 73 77 65 72 73 20 |ressing |answers |
|00002b00| 61 72 65 0a 25 20 7c 5c | 61 6e 73 77 65 72 7c 20 |are.% |\|answer| |
|00002b10| 74 68 61 74 20 73 68 6f | 77 73 20 69 74 73 20 61 |that sho|ws its a|
|00002b20| 72 67 75 6d 65 6e 74 20 | 77 68 65 6e 20 74 68 65 |rgument |when the|
|00002b30| 20 5c 65 6d 70 68 7b 61 | 6e 73 77 65 72 73 7d 0a | \emph{a|nswers}.|
|00002b40| 25 20 6f 70 74 69 6f 6e | 20 69 73 20 63 68 6f 73 |% option| is chos|
|00002b50| 65 6e 2c 20 61 6e 64 20 | 7c 5c 61 6c 74 61 6e 73 |en, and ||\altans|
|00002b60| 77 65 72 7c 20 74 68 61 | 74 20 61 6c 74 65 72 6e |wer| tha|t altern|
|00002b70| 61 74 65 73 20 69 74 73 | 0a 25 20 74 77 6f 20 61 |ates its|.% two a|
|00002b80| 72 67 75 6d 65 6e 74 73 | 2e 20 42 6f 74 68 20 6d |rguments|. Both m|
|00002b90| 61 63 72 6f 73 20 68 61 | 76 65 20 61 20 66 69 72 |acros ha|ve a fir|
|00002ba0| 73 74 2c 20 6f 70 74 69 | 6f 6e 61 6c 20 61 72 67 |st, opti|onal arg|
|00002bb0| 75 6d 65 6e 74 0a 25 20 | 66 6f 72 20 73 70 65 63 |ument.% |for spec|
|00002bc0| 69 66 79 69 6e 67 20 74 | 68 65 20 77 69 64 74 68 |ifying t|he width|
|00002bd0| 20 6f 66 20 74 68 65 20 | 62 6f 78 20 77 68 65 72 | of the |box wher|
|00002be0| 65 69 6e 20 74 68 65 20 | 74 65 78 74 0a 25 20 69 |ein the |text.% i|
|00002bf0| 73 20 70 6c 61 63 65 64 | 2e 0a 25 0a 25 20 5c 6d |s placed|..%.% \m|
|00002c00| 65 64 73 6b 69 70 20 0a | 25 20 5c 62 65 67 69 6e |edskip .|% \begin|
|00002c10| 7b 63 65 6e 74 65 72 7d | 5c 73 6d 61 6c 6c 0a 25 |{center}|\small.%|
|00002c20| 20 5c 66 62 6f 78 7b 61 | 6e 73 77 65 72 2f 61 6c | \fbox{a|nswer/al|
|00002c30| 74 61 6e 73 77 65 72 20 | 2d 2d 2d 20 63 6f 64 69 |tanswer |--- codi|
|00002c40| 6e 67 20 2d 2d 2d 7d 0a | 25 20 5c 70 61 72 5c 73 |ng ---}.|% \par\s|
|00002c50| 6d 61 6c 6c 73 6b 69 70 | 0a 25 20 5c 62 65 67 69 |mallskip|.% \begi|
|00002c60| 6e 7b 76 65 72 62 61 74 | 69 6d 7d 0a 25 20 5c 61 |n{verbat|im}.% \a|
|00002c70| 6e 73 77 65 72 5b 2e 33 | 5c 6c 69 6e 65 77 69 64 |nswer[.3|\linewid|
|00002c80| 74 68 5d 7b 61 6e 73 77 | 65 72 7d 5c 5c 0a 25 20 |th]{answ|er}\\.% |
|00002c90| 5c 61 6c 74 61 6e 73 77 | 65 72 5b 2e 33 5c 6c 69 |\altansw|er[.3\li|
|00002ca0| 6e 65 77 69 64 74 68 5d | 7b 61 6e 73 77 65 72 73 |newidth]|{answers|
|00002cb0| 20 4e 4f 7d 7b 61 6e 73 | 77 65 72 73 20 59 45 53 | NO}{ans|wers YES|
|00002cc0| 7d 0a 25 20 5c 65 6e 64 | 7b 76 65 72 62 61 74 69 |}.% \end|{verbati|
|00002cd0| 6d 7d 0a 25 0a 25 20 5c | 6d 65 64 73 6b 69 70 0a |m}.%.% \|medskip.|
|00002ce0| 25 20 5c 66 62 6f 78 7b | 61 6e 73 77 65 72 2f 61 |% \fbox{|answer/a|
|00002cf0| 6c 74 61 6e 73 77 65 72 | 20 2d 2d 2d 20 72 65 73 |ltanswer| --- res|
|00002d00| 75 6c 74 20 2d 2d 2d 20 | 0a 25 20 6c 65 66 74 20 |ult --- |.% left |
|00002d10| 77 69 74 68 6f 75 74 20 | 5c 65 6d 70 68 7b 61 6e |without |\emph{an|
|00002d20| 73 77 65 72 73 7d 2c 20 | 72 69 67 68 74 20 77 69 |swers}, |right wi|
|00002d30| 74 68 20 5c 65 6d 70 68 | 7b 61 6e 73 77 65 72 73 |th \emph|{answers|
|00002d40| 7d 7d 0a 25 20 5c 70 61 | 72 5c 73 6d 61 6c 6c 73 |}}.% \pa|r\smalls|
|00002d50| 6b 69 70 0a 25 20 5c 70 | 61 72 62 6f 78 5b 74 5d |kip.% \p|arbox[t]|
|00002d60| 7b 2e 34 5c 6c 69 6e 65 | 77 69 64 74 68 7d 7b 5c |{.4\line|width}{\|
|00002d70| 61 6e 73 77 65 72 73 66 | 61 6c 73 65 0a 25 20 5c |answersf|alse.% \|
|00002d80| 61 6e 73 77 65 72 5b 2e | 33 5c 6c 69 6e 65 77 69 |answer[.|3\linewi|
|00002d90| 64 74 68 5d 7b 61 6e 73 | 77 65 72 7d 5c 5c 0a 25 |dth]{ans|wer}\\.%|
|00002da0| 20 5c 61 6c 74 61 6e 73 | 77 65 72 5b 2e 33 5c 6c | \altans|wer[.3\l|
|00002db0| 69 6e 65 77 69 64 74 68 | 5d 7b 61 6e 73 77 65 72 |inewidth|]{answer|
|00002dc0| 73 20 4e 4f 7d 7b 61 6e | 73 77 65 72 73 20 59 45 |s NO}{an|swers YE|
|00002dd0| 53 7d 0a 25 20 7d 5c 71 | 71 75 61 64 5c 70 61 72 |S}.% }\q|quad\par|
|00002de0| 62 6f 78 5b 74 5d 7b 2e | 34 5c 6c 69 6e 65 77 69 |box[t]{.|4\linewi|
|00002df0| 64 74 68 7d 7b 5c 61 6e | 73 77 65 72 73 74 72 75 |dth}{\an|swerstru|
|00002e00| 65 0a 25 20 5c 61 6e 73 | 77 65 72 5b 2e 33 5c 6c |e.% \ans|wer[.3\l|
|00002e10| 69 6e 65 77 69 64 74 68 | 5d 7b 61 6e 73 77 65 72 |inewidth|]{answer|
|00002e20| 7d 5c 5c 0a 25 20 5c 61 | 6c 74 61 6e 73 77 65 72 |}\\.% \a|ltanswer|
|00002e30| 5b 2e 33 5c 6c 69 6e 65 | 77 69 64 74 68 5d 7b 61 |[.3\line|width]{a|
|00002e40| 6e 73 77 65 72 73 20 4e | 4f 7d 7b 61 6e 73 77 65 |nswers N|O}{answe|
|00002e50| 72 73 20 59 45 53 7d 0a | 25 20 7d 0a 25 20 5c 65 |rs YES}.|% }.% \e|
|00002e60| 6e 64 7b 63 65 6e 74 65 | 72 7d 0a 25 0a 25 20 5c |nd{cente|r}.%.% \|
|00002e70| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 7b 46 72 |subsubse|ction{Fr|
|00002e80| 65 65 20 41 6e 73 77 65 | 72 73 7d 0a 25 0a 25 20 |ee Answe|rs}.%.% |
|00002e90| 53 6f 6d 65 20 71 75 65 | 73 74 69 6f 6e 73 20 63 |Some que|stions c|
|00002ea0| 61 6e 20 62 65 20 61 6e | 73 77 65 72 65 64 20 62 |an be an|swered b|
|00002eb0| 79 20 61 20 66 65 77 20 | 77 6f 72 64 73 2c 20 61 |y a few |words, a|
|00002ec0| 20 73 68 6f 72 74 20 73 | 65 6e 74 65 6e 63 65 2e | short s|entence.|
|00002ed0| 0a 25 20 54 68 65 20 63 | 6f 6d 6d 61 6e 64 20 7c |.% The c|ommand ||
|00002ee0| 5c 73 68 6f 72 74 61 6e | 73 77 65 72 7c 20 73 65 |\shortan|swer| se|
|00002ef0| 72 76 65 73 20 74 68 69 | 73 20 70 75 72 70 6f 73 |rves thi|s purpos|
|00002f00| 65 3b 0a 25 20 69 74 73 | 20 66 69 72 73 74 20 61 |e;.% its| first a|
|00002f10| 72 67 75 6d 65 6e 74 20 | 69 73 20 6f 70 74 69 6f |rgument |is optio|
|00002f20| 6e 61 6c 20 61 6e 64 20 | 75 73 65 64 20 66 6f 72 |nal and |used for|
|00002f30| 20 74 68 65 20 77 69 64 | 74 68 20 6f 66 0a 25 20 | the wid|th of.% |
|00002f40| 74 68 65 20 61 6e 73 77 | 65 72 62 6f 78 2c 20 69 |the answ|erbox, i|
|00002f50| 74 73 20 73 65 63 6f 6e | 64 20 61 72 67 75 6d 65 |ts secon|d argume|
|00002f60| 6e 74 20 69 73 20 74 68 | 65 20 61 6e 73 77 65 72 |nt is th|e answer|
|00002f70| 20 69 74 73 65 6c 66 2e | 0a 25 0a 25 20 5c 6d 65 | itself.|.%.% \me|
|00002f80| 64 73 6b 69 70 20 0a 25 | 20 5c 62 65 67 69 6e 7b |dskip .%| \begin{|
|00002f90| 63 65 6e 74 65 72 7d 5c | 73 6d 61 6c 6c 0a 25 20 |center}\|small.% |
|00002fa0| 5c 66 62 6f 78 7b 73 68 | 6f 72 74 20 61 6e 73 77 |\fbox{sh|ort answ|
|00002fb0| 65 72 20 2d 2d 2d 20 63 | 6f 64 69 6e 67 20 2d 2d |er --- c|oding --|
|00002fc0| 2d 7d 0a 25 20 5c 70 61 | 72 5c 73 6d 61 6c 6c 73 |-}.% \pa|r\smalls|
|00002fd0| 6b 69 70 0a 25 20 5c 62 | 65 67 69 6e 7b 76 65 72 |kip.% \b|egin{ver|
|00002fe0| 62 61 74 69 6d 7d 0a 25 | 20 41 6e 73 77 65 72 20 |batim}.%| Answer |
|00002ff0| 74 68 65 20 6e 65 78 74 | 20 71 75 65 73 74 69 6f |the next| questio|
|00003000| 6e 3a 0a 25 20 5c 73 68 | 6f 72 74 61 6e 73 77 65 |n:.% \sh|ortanswe|
|00003010| 72 5b 2e 33 35 5c 6c 69 | 6e 65 77 69 64 74 68 5d |r[.35\li|newidth]|
|00003020| 7b 54 68 65 20 61 6e 73 | 77 65 72 2e 7d 0a 25 20 |{The ans|wer.}.% |
|00003030| 5c 65 6e 64 7b 76 65 72 | 62 61 74 69 6d 7d 0a 25 |\end{ver|batim}.%|
|00003040| 0a 25 20 5c 6d 65 64 73 | 6b 69 70 0a 25 20 5c 66 |.% \meds|kip.% \f|
|00003050| 62 6f 78 7b 73 68 6f 72 | 74 20 61 6e 73 77 65 72 |box{shor|t answer|
|00003060| 20 2d 2d 2d 20 72 65 73 | 75 6c 74 20 2d 2d 2d 20 | --- res|ult --- |
|00003070| 0a 25 20 6c 65 66 74 20 | 77 69 74 68 6f 75 74 20 |.% left |without |
|00003080| 5c 65 6d 70 68 7b 61 6e | 73 77 65 72 73 7d 2c 20 |\emph{an|swers}, |
|00003090| 72 69 67 68 74 20 77 69 | 74 68 20 5c 65 6d 70 68 |right wi|th \emph|
|000030a0| 7b 61 6e 73 77 65 72 73 | 7d 7d 0a 25 20 5c 70 61 |{answers|}}.% \pa|
|000030b0| 72 5c 73 6d 61 6c 6c 73 | 6b 69 70 0a 25 20 5c 70 |r\smalls|kip.% \p|
|000030c0| 61 72 62 6f 78 5b 74 5d | 7b 2e 34 5c 6c 69 6e 65 |arbox[t]|{.4\line|
|000030d0| 77 69 64 74 68 7d 7b 5c | 61 6e 73 77 65 72 73 66 |width}{\|answersf|
|000030e0| 61 6c 73 65 0a 25 20 41 | 6e 73 77 65 72 20 74 68 |alse.% A|nswer th|
|000030f0| 65 20 6e 65 78 74 20 71 | 75 65 73 74 69 6f 6e 3a |e next q|uestion:|
|00003100| 0a 25 20 5c 73 68 6f 72 | 74 61 6e 73 77 65 72 5b |.% \shor|tanswer[|
|00003110| 2e 33 35 5c 6c 69 6e 65 | 77 69 64 74 68 5d 7b 54 |.35\line|width]{T|
|00003120| 68 65 20 61 6e 73 77 65 | 72 2e 7d 7d 0a 25 20 5c |he answe|r.}}.% \|
|00003130| 71 71 75 61 64 5c 70 61 | 72 62 6f 78 5b 74 5d 7b |qquad\pa|rbox[t]{|
|00003140| 2e 34 5c 6c 69 6e 65 77 | 69 64 74 68 7d 7b 5c 61 |.4\linew|idth}{\a|
|00003150| 6e 73 77 65 72 73 74 72 | 75 65 0a 25 20 41 6e 73 |nswerstr|ue.% Ans|
|00003160| 77 65 72 20 74 68 65 20 | 6e 65 78 74 20 71 75 65 |wer the |next que|
|00003170| 73 74 69 6f 6e 3a 0a 25 | 20 5c 73 68 6f 72 74 61 |stion:.%| \shorta|
|00003180| 6e 73 77 65 72 5b 2e 33 | 35 5c 6c 69 6e 65 77 69 |nswer[.3|5\linewi|
|00003190| 64 74 68 5d 7b 54 68 65 | 20 61 6e 73 77 65 72 2e |dth]{The| answer.|
|000031a0| 7d 7d 0a 25 20 5c 65 6e | 64 7b 63 65 6e 74 65 72 |}}.% \en|d{center|
|000031b0| 7d 0a 25 0a 25 20 57 68 | 65 6e 20 68 6f 77 65 76 |}.%.% Wh|en howev|
|000031c0| 65 72 20 6d 6f 72 65 20 | 73 70 61 63 65 20 69 73 |er more |space is|
|000031d0| 20 6e 65 65 64 65 64 20 | 62 79 20 74 68 65 20 73 | needed |by the s|
|000031e0| 74 75 64 65 6e 74 2c 20 | 74 68 65 0a 25 20 65 6e |tudent, |the.% en|
|000031f0| 76 69 72 6f 6e 6d 65 6e | 74 20 7c 6c 6f 6e 67 61 |vironmen|t |longa|
|00003200| 6e 73 77 65 72 7c 20 63 | 61 6e 20 62 65 20 75 73 |nswer| c|an be us|
|00003210| 65 64 2e 20 0a 25 20 54 | 68 69 73 20 65 6e 76 69 |ed. .% T|his envi|
|00003220| 72 6f 6e 6d 65 6e 74 20 | 68 61 73 20 6f 6e 65 20 |ronment |has one |
|00003230| 6f 70 74 69 6f 6e 61 6c | 20 70 61 72 61 6d 65 74 |optional| paramet|
|00003240| 65 72 2c 20 6d 65 61 6e | 74 0a 25 20 66 6f 72 20 |er, mean|t.% for |
|00003250| 73 70 65 63 69 66 79 69 | 6e 67 20 74 68 65 20 61 |specifyi|ng the a|
|00003260| 6d 6f 75 6e 74 20 6f 66 | 20 77 68 69 74 65 20 73 |mount of| white s|
|00003270| 70 61 63 65 20 74 6f 20 | 62 65 20 72 65 73 65 72 |pace to |be reser|
|00003280| 76 65 64 0a 25 20 66 6f | 72 20 74 68 65 20 73 74 |ved.% fo|r the st|
|00003290| 75 64 65 6e 74 73 20 61 | 6e 73 77 65 72 2e 20 0a |udents a|nswer. .|
|000032a0| 25 0a 25 20 5c 6d 65 64 | 73 6b 69 70 20 0a 25 20 |%.% \med|skip .% |
|000032b0| 5c 62 65 67 69 6e 7b 63 | 65 6e 74 65 72 7d 5c 73 |\begin{c|enter}\s|
|000032c0| 6d 61 6c 6c 0a 25 20 5c | 66 62 6f 78 7b 6c 6f 6e |mall.% \|fbox{lon|
|000032d0| 67 20 61 6e 73 77 65 72 | 20 2d 2d 2d 20 63 6f 64 |g answer| --- cod|
|000032e0| 69 6e 67 20 2d 2d 2d 7d | 0a 25 20 5c 70 61 72 5c |ing ---}|.% \par\|
|000032f0| 73 6d 61 6c 6c 73 6b 69 | 70 0a 25 20 5c 62 65 67 |smallski|p.% \beg|
|00003300| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0a 25 20 41 |in{verba|tim}.% A|
|00003310| 6e 73 77 65 72 20 74 68 | 65 20 6e 65 78 74 20 71 |nswer th|e next q|
|00003320| 75 65 73 74 69 6f 6e 3a | 0a 25 20 5c 62 65 67 69 |uestion:|.% \begi|
|00003330| 6e 7b 6c 6f 6e 67 61 6e | 73 77 65 72 7d 5b 35 6d |n{longan|swer}[5m|
|00003340| 6d 5d 0a 25 20 54 68 65 | 20 61 6e 73 77 65 72 2e |m].% The| answer.|
|00003350| 0a 25 20 5c 65 6e 64 7b | 6c 6f 6e 67 61 6e 73 77 |.% \end{|longansw|
|00003360| 65 72 7d 0a 25 20 5c 65 | 6e 64 7b 76 65 72 62 61 |er}.% \e|nd{verba|
|00003370| 74 69 6d 7d 0a 25 0a 25 | 20 5c 6d 65 64 73 6b 69 |tim}.%.%| \medski|
|00003380| 70 0a 25 20 5c 66 62 6f | 78 7b 6c 6f 6e 67 20 61 |p.% \fbo|x{long a|
|00003390| 6e 73 77 65 72 20 2d 2d | 2d 20 72 65 73 75 6c 74 |nswer --|- result|
|000033a0| 20 2d 2d 2d 20 0a 25 20 | 6c 65 66 74 20 77 69 74 | --- .% |left wit|
|000033b0| 68 6f 75 74 20 5c 65 6d | 70 68 7b 61 6e 73 77 65 |hout \em|ph{answe|
|000033c0| 72 73 7d 2c 20 72 69 67 | 68 74 20 77 69 74 68 20 |rs}, rig|ht with |
|000033d0| 5c 65 6d 70 68 7b 61 6e | 73 77 65 72 73 7d 7d 0a |\emph{an|swers}}.|
|000033e0| 25 20 5c 70 61 72 5c 73 | 6d 61 6c 6c 73 6b 69 70 |% \par\s|mallskip|
|000033f0| 0a 25 20 5c 70 61 72 62 | 6f 78 5b 74 5d 7b 2e 34 |.% \parb|ox[t]{.4|
|00003400| 5c 6c 69 6e 65 77 69 64 | 74 68 7d 7b 5c 61 6e 73 |\linewid|th}{\ans|
|00003410| 77 65 72 73 66 61 6c 73 | 65 0a 25 20 41 6e 73 77 |wersfals|e.% Answ|
|00003420| 65 72 20 74 68 65 20 6e | 65 78 74 20 71 75 65 73 |er the n|ext ques|
|00003430| 74 69 6f 6e 3a 0a 25 20 | 5c 62 65 67 69 6e 7b 6c |tion:.% |\begin{l|
|00003440| 6f 6e 67 61 6e 73 77 65 | 72 7d 5b 35 6d 6d 5d 0a |onganswe|r}[5mm].|
|00003450| 25 20 54 68 65 20 61 6e | 73 77 65 72 2e 0a 25 20 |% The an|swer..% |
|00003460| 5c 65 6e 64 7b 6c 6f 6e | 67 61 6e 73 77 65 72 7d |\end{lon|ganswer}|
|00003470| 7d 0a 25 20 5c 71 71 75 | 61 64 5c 70 61 72 62 6f |}.% \qqu|ad\parbo|
|00003480| 78 5b 74 5d 7b 2e 34 5c | 6c 69 6e 65 77 69 64 74 |x[t]{.4\|linewidt|
|00003490| 68 7d 7b 5c 61 6e 73 77 | 65 72 73 74 72 75 65 0a |h}{\answ|erstrue.|
|000034a0| 25 20 41 6e 73 77 65 72 | 20 74 68 65 20 6e 65 78 |% Answer| the nex|
|000034b0| 74 20 71 75 65 73 74 69 | 6f 6e 3a 0a 25 20 5c 62 |t questi|on:.% \b|
|000034c0| 65 67 69 6e 7b 6c 6f 6e | 67 61 6e 73 77 65 72 7d |egin{lon|ganswer}|
|000034d0| 5b 35 6d 6d 5d 0a 25 20 | 54 68 65 20 61 6e 73 77 |[5mm].% |The answ|
|000034e0| 65 72 2e 0a 25 20 5c 65 | 6e 64 7b 6c 6f 6e 67 61 |er..% \e|nd{longa|
|000034f0| 6e 73 77 65 72 7d 7d 0a | 25 20 5c 65 6e 64 7b 63 |nswer}}.|% \end{c|
|00003500| 65 6e 74 65 72 7d 0a 25 | 0a 25 20 5c 73 75 62 73 |enter}.%|.% \subs|
|00003510| 75 62 73 65 63 74 69 6f | 6e 7b 43 75 73 74 6f 6d |ubsectio|n{Custom|
|00003520| 69 7a 61 74 69 6f 6e 20 | 6f 66 20 61 6e 73 77 65 |ization |of answe|
|00003530| 72 20 70 72 6f 64 75 63 | 74 69 6f 6e 7d 0a 25 0a |r produc|tion}.%.|
|00003540| 25 20 54 68 65 20 61 6e | 73 77 65 72 20 69 73 20 |% The an|swer is |
|00003550| 68 65 61 64 65 64 20 62 | 79 20 61 20 63 61 6c 6c |headed b|y a call|
|00003560| 20 74 6f 20 7c 5c 61 6e | 73 77 65 72 73 74 61 72 | to |\an|swerstar|
|00003570| 74 7c 3b 20 72 65 64 65 | 66 69 6e 65 0a 25 20 74 |t|; rede|fine.% t|
|00003580| 6f 20 79 6f 75 72 20 74 | 61 73 74 65 2e 0a 25 0a |o your t|aste..%.|
|00003590| 25 20 54 68 65 20 64 65 | 66 61 75 6c 74 20 6f 66 |% The de|fault of|
|000035a0| 20 77 68 69 74 65 20 73 | 70 61 63 65 20 72 65 73 | white s|pace res|
|000035b0| 65 72 76 65 64 20 66 6f | 72 20 74 68 65 20 64 65 |erved fo|r the de|
|000035c0| 70 74 68 20 6f 66 20 74 | 68 65 20 73 68 6f 72 74 |pth of t|he short|
|000035d0| 20 61 6e 73 77 65 72 0a | 25 20 63 61 6e 20 62 65 | answer.|% can be|
|000035e0| 20 63 68 61 6e 67 65 64 | 20 62 79 20 72 65 64 65 | changed| by rede|
|000035f0| 66 69 6e 69 74 69 6f 6e | 20 6f 66 20 7c 5c 73 68 |finition| of |\sh|
|00003600| 6f 72 74 77 68 69 74 65 | 7c 2e 0a 25 20 54 68 65 |ortwhite||..% The|
|00003610| 20 64 65 66 61 75 6c 74 | 20 66 6f 72 20 74 68 65 | default| for the|
|00003620| 20 77 68 69 74 65 20 73 | 70 61 63 65 20 6f 66 20 | white s|pace of |
|00003630| 74 68 65 20 6c 6f 6e 67 | 20 61 6e 73 77 65 72 0a |the long| answer.|
|00003640| 25 20 63 61 6e 20 62 65 | 20 63 68 61 6e 67 65 64 |% can be| changed|
|00003650| 20 62 79 20 72 65 64 65 | 66 69 6e 69 74 69 6f 6e | by rede|finition|
|00003660| 20 6f 66 20 7c 5c 6c 6f | 6e 67 77 68 69 74 65 7c | of |\lo|ngwhite||
|00003670| 2e 0a 25 0a 25 20 5c 73 | 75 62 73 65 63 74 69 6f |..%.% \s|ubsectio|
|00003680| 6e 7b 4d 75 6c 74 69 70 | 6c 65 20 43 68 6f 69 63 |n{Multip|le Choic|
|00003690| 65 7d 0a 25 0a 25 20 4d | 75 6c 74 69 70 6c 65 20 |e}.%.% M|ultiple |
|000036a0| 63 68 6f 69 63 65 20 69 | 73 20 70 72 6f 76 69 64 |choice i|s provid|
|000036b0| 65 64 20 66 6f 72 20 62 | 79 20 65 6e 76 69 72 6f |ed for b|y enviro|
|000036c0| 6e 6d 65 6e 74 20 7c 63 | 68 6f 69 63 65 7c 2e 0a |nment |c|hoice|..|
|000036d0| 25 20 57 69 74 68 69 6e | 20 74 68 69 73 20 65 6e |% Within| this en|
|000036e0| 76 69 72 6f 6e 6d 65 6e | 74 20 61 20 69 74 65 6d |vironmen|t a item|
|000036f0| 69 7a 65 64 20 6c 69 73 | 74 20 6f 66 20 61 6c 74 |ized lis|t of alt|
|00003700| 65 72 6e 61 74 69 76 65 | 73 20 69 73 20 67 69 76 |ernative|s is giv|
|00003710| 65 6e 2e 0a 25 20 48 6f | 77 65 76 65 72 20 69 6e |en..% Ho|wever in|
|00003720| 73 74 65 61 64 20 6f 66 | 20 7c 5c 69 74 65 6d 7c |stead of| |\item||
|00003730| 20 6f 6e 65 20 63 6f 64 | 65 20 7c 5c 62 61 64 69 | one cod|e |\badi|
|00003740| 74 65 6d 7c 20 66 6f 72 | 20 77 72 6f 6e 67 20 61 |tem| for| wrong a|
|00003750| 6e 73 77 65 72 73 0a 25 | 20 61 6e 64 20 7c 5c 67 |nswers.%| and |\g|
|00003760| 6f 6f 64 69 74 65 6d 7c | 20 66 6f 72 20 74 68 65 |ooditem|| for the|
|00003770| 20 63 6f 72 72 65 63 74 | 20 6f 6e 65 3b 20 74 68 | correct| one; th|
|00003780| 65 20 61 6e 73 77 65 72 | 20 62 65 69 6e 67 20 70 |e answer| being p|
|00003790| 75 74 0a 25 20 69 6e 74 | 6f 20 74 68 65 20 61 72 |ut.% int|o the ar|
|000037a0| 67 75 6d 65 6e 74 20 6f | 66 20 74 68 65 73 65 20 |gument o|f these |
|000037b0| 74 77 6f 20 6d 61 63 72 | 6f 73 2e 0a 25 20 54 68 |two macr|os..% Th|
|000037c0| 65 20 6f 70 74 69 6f 6e | 61 6c 20 70 61 72 61 6d |e option|al param|
|000037d0| 65 74 65 72 20 6f 66 20 | 74 68 69 73 20 65 6e 76 |eter of |this env|
|000037e0| 69 72 6f 6e 6d 65 6e 74 | 20 63 61 6e 20 62 65 20 |ironment| can be |
|000037f0| 7c 5c 6f 72 64 65 72 65 | 64 7c 20 66 6f 72 0a 25 ||\ordere|d| for.%|
|00003800| 20 70 72 6f 64 75 63 74 | 69 6f 6e 20 6f 66 20 74 | product|ion of t|
|00003810| 68 65 20 61 6c 74 65 72 | 6e 61 74 69 76 65 73 20 |he alter|natives |
|00003820| 69 6e 20 74 68 65 20 6f | 72 64 65 72 20 73 70 65 |in the o|rder spe|
|00003830| 63 69 66 69 65 64 2c 20 | 6f 72 0a 25 20 7c 5c 72 |cified, |or.% |\r|
|00003840| 61 6e 64 6f 6d 7c 20 66 | 6f 72 20 72 61 6e 64 6f |andom| f|or rando|
|00003850| 6d 69 7a 61 74 69 6f 6e | 3b 20 72 61 6e 64 6f 6d |mization|; random|
|00003860| 69 7a 65 20 69 73 20 74 | 68 65 20 64 65 66 61 75 |ize is t|he defau|
|00003870| 6c 74 2c 20 75 6e 6c 65 | 73 73 0a 25 20 74 68 65 |lt, unle|ss.% the|
|00003880| 20 5c 65 6d 70 68 7b 73 | 65 72 69 65 73 7d 20 6f | \emph{s|eries} o|
|00003890| 70 74 69 6f 6e 20 69 73 | 20 73 70 65 63 69 66 69 |ption is| specifi|
|000038a0| 65 64 20 69 6e 20 74 68 | 65 20 7c 5c 64 6f 63 75 |ed in th|e |\docu|
|000038b0| 6d 65 6e 74 63 6c 61 73 | 73 7c 20 63 61 6c 6c 2e |mentclas|s| call.|
|000038c0| 0a 25 0a 25 20 5c 6d 65 | 64 73 6b 69 70 20 0a 25 |.%.% \me|dskip .%|
|000038d0| 20 5c 62 65 67 69 6e 7b | 63 65 6e 74 65 72 7d 5c | \begin{|center}\|
|000038e0| 73 6d 61 6c 6c 0a 25 20 | 5c 66 62 6f 78 7b 6d 75 |small.% |\fbox{mu|
|000038f0| 6c 74 69 70 6c 65 20 63 | 68 6f 69 63 65 20 65 78 |ltiple c|hoice ex|
|00003900| 61 6d 70 6c 65 20 2d 2d | 2d 20 63 6f 64 69 6e 67 |ample --|- coding|
|00003910| 20 2d 2d 2d 7d 0a 25 20 | 5c 70 61 72 5c 73 6d 61 | ---}.% |\par\sma|
|00003920| 6c 6c 73 6b 69 70 0a 25 | 20 5c 62 65 67 69 6e 7b |llskip.%| \begin{|
|00003930| 76 65 72 62 61 74 69 6d | 7d 0a 25 20 43 68 6f 6f |verbatim|}.% Choo|
|00003940| 73 65 20 74 68 65 20 6d | 6f 73 74 20 61 70 70 72 |se the m|ost appr|
|00003950| 6f 70 72 69 61 74 65 20 | 61 6c 74 65 72 6e 61 74 |opriate |alternat|
|00003960| 69 76 65 3a 0a 25 20 5c | 62 65 67 69 6e 7b 63 68 |ive:.% \|begin{ch|
|00003970| 6f 69 63 65 7d 5b 5c 6f | 72 64 65 72 65 64 5d 0a |oice}[\o|rdered].|
|00003980| 25 20 5c 62 61 64 69 74 | 65 6d 7b 66 69 72 73 74 |% \badit|em{first|
|00003990| 20 77 72 6f 6e 67 20 61 | 6e 73 77 65 72 7d 0a 25 | wrong a|nswer}.%|
|000039a0| 20 5c 67 6f 6f 64 69 74 | 65 6d 7b 74 68 65 20 72 | \goodit|em{the r|
|000039b0| 69 67 68 74 20 61 6e 73 | 77 65 72 7d 0a 25 20 5c |ight ans|wer}.% \|
|000039c0| 62 61 64 69 74 65 6d 7b | 73 65 63 6f 6e 64 20 77 |baditem{|second w|
|000039d0| 72 6f 6e 67 20 61 6e 73 | 77 65 72 7d 0a 25 20 5c |rong ans|wer}.% \|
|000039e0| 65 6e 64 7b 63 68 6f 69 | 63 65 7d 0a 25 20 5c 65 |end{choi|ce}.% \e|
|000039f0| 6e 64 7b 76 65 72 62 61 | 74 69 6d 7d 0a 25 0a 25 |nd{verba|tim}.%.%|
|00003a00| 20 5c 6d 65 64 73 6b 69 | 70 0a 25 20 5c 66 62 6f | \medski|p.% \fbo|
|00003a10| 78 7b 6d 75 6c 74 69 70 | 6c 65 20 63 68 6f 69 63 |x{multip|le choic|
|00003a20| 65 20 2d 2d 2d 20 72 65 | 73 75 6c 74 20 2d 2d 2d |e --- re|sult ---|
|00003a30| 20 0a 25 20 6c 65 66 74 | 20 77 69 74 68 6f 75 74 | .% left| without|
|00003a40| 20 5c 65 6d 70 68 7b 61 | 6e 73 77 65 72 73 7d 2c | \emph{a|nswers},|
|00003a50| 20 72 69 67 68 74 20 77 | 69 74 68 20 5c 65 6d 70 | right w|ith \emp|
|00003a60| 68 7b 61 6e 73 77 65 72 | 73 7d 7d 0a 25 20 5c 70 |h{answer|s}}.% \p|
|00003a70| 61 72 5c 73 6d 61 6c 6c | 73 6b 69 70 0a 25 20 5c |ar\small|skip.% \|
|00003a80| 70 61 72 62 6f 78 5b 74 | 5d 7b 2e 34 5c 6c 69 6e |parbox[t|]{.4\lin|
|00003a90| 65 77 69 64 74 68 7d 7b | 5c 61 6e 73 77 65 72 73 |ewidth}{|\answers|
|00003aa0| 66 61 6c 73 65 0a 25 20 | 43 68 6f 6f 73 65 20 61 |false.% |Choose a|
|00003ab0| 70 70 72 6f 70 72 69 61 | 74 65 20 61 6c 74 65 72 |ppropria|te alter|
|00003ac0| 6e 61 74 69 76 65 3a 0a | 25 20 5c 62 65 67 69 6e |native:.|% \begin|
|00003ad0| 7b 63 68 6f 69 63 65 7d | 5b 5c 6f 72 64 65 72 65 |{choice}|[\ordere|
|00003ae0| 64 5d 0a 25 20 5c 62 61 | 64 69 74 65 6d 7b 66 69 |d].% \ba|ditem{fi|
|00003af0| 72 73 74 20 77 72 6f 6e | 67 20 61 6e 73 77 65 72 |rst wron|g answer|
|00003b00| 7d 0a 25 20 5c 67 6f 6f | 64 69 74 65 6d 7b 74 68 |}.% \goo|ditem{th|
|00003b10| 65 20 72 69 67 68 74 20 | 61 6e 73 77 65 72 7d 0a |e right |answer}.|
|00003b20| 25 20 5c 62 61 64 69 74 | 65 6d 7b 73 65 63 6f 6e |% \badit|em{secon|
|00003b30| 64 20 77 72 6f 6e 67 20 | 61 6e 73 77 65 72 7d 0a |d wrong |answer}.|
|00003b40| 25 20 5c 65 6e 64 7b 63 | 68 6f 69 63 65 7d 7d 0a |% \end{c|hoice}}.|
|00003b50| 25 20 5c 71 71 75 61 64 | 5c 70 61 72 62 6f 78 5b |% \qquad|\parbox[|
|00003b60| 74 5d 7b 2e 34 5c 6c 69 | 6e 65 77 69 64 74 68 7d |t]{.4\li|newidth}|
|00003b70| 7b 5c 61 6e 73 77 65 72 | 73 74 72 75 65 0a 25 20 |{\answer|strue.% |
|00003b80| 43 68 6f 6f 73 65 20 61 | 70 70 72 6f 70 72 69 61 |Choose a|ppropria|
|00003b90| 74 65 20 61 6c 74 65 72 | 6e 61 74 69 76 65 3a 0a |te alter|native:.|
|00003ba0| 25 20 5c 62 65 67 69 6e | 7b 63 68 6f 69 63 65 7d |% \begin|{choice}|
|00003bb0| 5b 5c 6f 72 64 65 72 65 | 64 5d 0a 25 20 5c 62 61 |[\ordere|d].% \ba|
|00003bc0| 64 69 74 65 6d 7b 66 69 | 72 73 74 20 77 72 6f 6e |ditem{fi|rst wron|
|00003bd0| 67 20 61 6e 73 77 65 72 | 7d 0a 25 20 5c 67 6f 6f |g answer|}.% \goo|
|00003be0| 64 69 74 65 6d 7b 74 68 | 65 20 72 69 67 68 74 20 |ditem{th|e right |
|00003bf0| 61 6e 73 77 65 72 7d 0a | 25 20 5c 62 61 64 69 74 |answer}.|% \badit|
|00003c00| 65 6d 7b 73 65 63 6f 6e | 64 20 77 72 6f 6e 67 20 |em{secon|d wrong |
|00003c10| 61 6e 73 77 65 72 7d 0a | 25 20 5c 65 6e 64 7b 63 |answer}.|% \end{c|
|00003c20| 68 6f 69 63 65 7d 7d 0a | 25 20 5c 65 6e 64 7b 63 |hoice}}.|% \end{c|
|00003c30| 65 6e 74 65 72 7d 0a 25 | 0a 25 20 5c 73 75 62 73 |enter}.%|.% \subs|
|00003c40| 75 62 73 65 63 74 69 6f | 6e 7b 43 75 73 74 6f 6d |ubsectio|n{Custom|
|00003c50| 69 7a 61 74 69 6f 6e 20 | 6f 66 20 61 6e 73 77 65 |ization |of answe|
|00003c60| 72 20 70 72 6f 64 75 63 | 74 69 6f 6e 7d 0a 25 0a |r produc|tion}.%.|
|00003c70| 25 20 54 68 65 20 6d 61 | 72 6b 73 20 66 6f 72 20 |% The ma|rks for |
|00003c80| 74 68 65 20 6d 75 6c 74 | 69 70 6c 65 20 63 68 6f |the mult|iple cho|
|00003c90| 69 63 65 20 69 74 65 6d | 73 20 61 72 65 20 70 72 |ice item|s are pr|
|00003ca0| 6f 64 75 63 65 64 0a 25 | 20 62 79 20 74 68 65 20 |oduced.%| by the |
|00003cb0| 6d 61 63 72 6f 73 20 7c | 5c 62 61 64 6d 61 72 6b |macros ||\badmark|
|00003cc0| 7c 20 61 6e 64 20 7c 5c | 67 6f 6f 64 6d 61 72 6b || and |\|goodmark|
|00003cd0| 7c 2e 20 46 6f 72 20 74 | 68 65 69 72 0a 25 20 72 ||. For t|heir.% r|
|00003ce0| 65 64 65 66 69 6e 69 74 | 69 6f 6e 20 73 65 65 20 |edefinit|ion see |
|00003cf0| 74 68 65 20 69 6d 70 6c | 65 6d 65 6e 74 61 74 69 |the impl|ementati|
|00003d00| 6f 6e 20 73 65 63 74 69 | 6f 6e 20 6f 66 20 74 68 |on secti|on of th|
|00003d10| 69 73 0a 25 20 64 6f 63 | 75 6d 65 6e 74 2e 0a 25 |is.% doc|ument..%|
|00003d20| 0a 25 20 5c 73 75 62 73 | 65 63 74 69 6f 6e 7b 55 |.% \subs|ection{U|
|00003d30| 73 65 20 6f 66 20 72 61 | 6e 64 6f 6d 69 7a 61 74 |se of ra|ndomizat|
|00003d40| 69 6f 6e 7d 0a 25 0a 25 | 20 4d 61 63 72 6f 20 7c |ion}.%.%| Macro ||
|00003d50| 5c 6c 6f 61 64 69 74 65 | 6d 7c 20 63 61 6e 20 62 |\loadite|m| can b|
|00003d60| 65 20 75 73 65 64 20 74 | 6f 20 6c 6f 61 64 20 66 |e used t|o load f|
|00003d70| 72 6f 6d 20 6f 6e 65 20 | 74 6f 20 66 69 76 65 0a |rom one |to five.|
|00003d80| 25 20 69 74 65 6d 73 20 | 69 6e 20 61 20 64 61 74 |% items |in a dat|
|00003d90| 61 20 73 74 6f 72 65 2e | 20 54 68 69 73 20 64 61 |a store.| This da|
|00003da0| 74 61 20 73 74 6f 72 65 | 20 63 61 6e 20 62 65 20 |ta store| can be |
|00003db0| 73 68 75 66 66 6c 65 64 | 0a 25 20 62 79 20 61 20 |shuffled|.% by a |
|00003dc0| 63 61 6c 6c 20 74 6f 20 | 7c 5c 73 68 75 66 66 6c |call to ||\shuffl|
|00003dd0| 65 7c 2e 20 50 6f 70 70 | 69 6e 67 20 69 74 65 6d |e|. Popp|ing item|
|00003de0| 73 20 66 72 6f 6d 20 74 | 68 65 20 73 74 6f 72 65 |s from t|he store|
|00003df0| 0a 25 20 69 73 20 65 66 | 66 65 63 74 65 64 20 62 |.% is ef|fected b|
|00003e00| 79 20 6d 61 63 72 6f 73 | 20 7c 5c 64 75 6d 70 69 |y macros| |\dumpi|
|00003e10| 74 65 6d 7c 20 28 70 6f | 70 20 6f 6e 65 20 69 74 |tem| (po|p one it|
|00003e20| 65 6d 29 20 61 6e 64 0a | 25 20 7c 5c 64 75 6d 70 |em) and.|% |\dump|
|00003e30| 69 74 65 6d 73 7c 20 28 | 61 6c 6c 20 69 74 65 6d |items| (|all item|
|00003e40| 73 29 2e 20 43 6c 65 61 | 72 69 6e 67 20 6f 66 20 |s). Clea|ring of |
|00003e50| 74 68 65 20 73 74 6f 72 | 65 0a 25 20 69 73 20 64 |the stor|e.% is d|
|00003e60| 6f 6e 65 20 62 79 20 7c | 5c 72 65 73 65 74 6c 6f |one by ||\resetlo|
|00003e70| 61 64 63 6f 75 6e 74 65 | 72 7c 2e 0a 25 20 57 69 |adcounte|r|..% Wi|
|00003e80| 74 68 20 5c 53 52 74 65 | 73 74 20 6f 6e 65 20 63 |th \SRte|st one c|
|00003e90| 61 6e 20 6d 61 6b 65 20 | 61 20 72 61 6e 64 6f 6d |an make |a random|
|00003ea0| 20 63 68 6f 69 63 65 20 | 62 65 74 77 65 65 6e 20 | choice |between |
|00003eb0| 74 77 6f 0a 25 20 61 6c | 74 65 72 6e 61 74 69 76 |two.% al|ternativ|
|00003ec0| 65 73 2e 0a 25 0a 25 20 | 46 6f 72 20 74 68 65 20 |es..%.% |For the |
|00003ed0| 75 73 65 20 6f 66 20 74 | 68 65 73 65 20 6d 61 63 |use of t|hese mac|
|00003ee0| 72 6f 73 20 74 68 65 20 | 69 6e 74 65 72 65 73 74 |ros the |interest|
|00003ef0| 65 64 20 75 73 65 72 20 | 69 73 20 61 64 76 69 73 |ed user |is advis|
|00003f00| 65 64 0a 25 20 74 6f 20 | 74 61 6b 65 20 61 20 6c |ed.% to |take a l|
|00003f10| 6f 6f 6b 20 61 74 20 74 | 68 65 20 69 6d 70 6c 65 |ook at t|he imple|
|00003f20| 6d 65 6e 74 61 74 69 6f | 6e 20 6f 66 20 65 6e 76 |mentatio|n of env|
|00003f30| 69 72 6f 6e 6d 65 6e 74 | 20 7c 63 68 6f 69 63 65 |ironment| |choice|
|00003f40| 7c 2e 0a 25 0a 25 20 5c | 53 74 6f 70 45 76 65 6e ||..%.% \|StopEven|
|00003f50| 74 75 61 6c 6c 79 0a 25 | 0a 25 20 20 20 20 5c 62 |tually.%|.% \b|
|00003f60| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|00003f70| 25 3c 2a 70 61 63 6b 61 | 67 65 3e 0a 25 20 20 20 |%<*packa|ge>.% |
|00003f80| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|00003f90| 0a 25 0a 25 20 5c 73 65 | 63 74 69 6f 6e 7b 49 64 |.%.% \se|ction{Id|
|00003fa0| 65 6e 74 69 66 69 63 61 | 74 69 6f 6e 7d 0a 25 0a |entifica|tion}.%.|
|00003fb0| 25 20 20 20 20 54 68 69 | 73 20 64 6f 63 75 6d 65 |% Thi|s docume|
|00003fc0| 6e 74 20 63 6c 61 73 73 | 20 63 61 6e 20 6f 6e 6c |nt class| can onl|
|00003fd0| 79 20 62 65 20 75 73 65 | 64 20 77 69 74 68 20 5c |y be use|d with \|
|00003fe0| 4c 61 54 65 58 65 2c 20 | 73 6f 20 77 65 20 6d 61 |LaTeXe, |so we ma|
|00003ff0| 6b 65 0a 25 20 20 20 20 | 73 75 72 65 20 74 68 61 |ke.% |sure tha|
|00004000| 74 20 61 6e 20 61 70 70 | 72 6f 70 72 69 61 74 65 |t an app|ropriate|
|00004010| 20 6d 65 73 73 61 67 65 | 20 69 73 20 64 69 73 70 | message| is disp|
|00004020| 6c 61 79 65 64 20 77 68 | 65 6e 20 61 6e 6f 74 68 |layed wh|en anoth|
|00004030| 65 72 20 5c 54 65 58 7b | 7d 0a 25 20 20 20 20 66 |er \TeX{|}.% f|
|00004040| 6f 72 6d 61 74 20 69 73 | 20 75 73 65 64 2e 0a 25 |ormat is| used..%|
|00004050| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|00004060| 63 6f 64 65 7d 0a 5c 4e | 65 65 64 73 54 65 58 46 |code}.\N|eedsTeXF|
|00004070| 6f 72 6d 61 74 7b 4c 61 | 54 65 58 32 65 7d 5b 31 |ormat{La|TeX2e}[1|
|00004080| 39 39 33 2f 31 32 2f 30 | 31 5d 0a 25 20 20 20 20 |993/12/0|1].% |
|00004090| 5c 65 6e 64 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |\end{mac|rocode}.|
|000040a0| 25 0a 25 20 20 20 20 41 | 6e 6e 6f 75 6e 63 65 20 |%.% A|nnounce |
|000040b0| 74 68 65 20 43 6c 61 73 | 73 20 6e 61 6d 65 20 61 |the Clas|s name a|
|000040c0| 6e 64 20 69 74 73 20 76 | 65 72 73 69 6f 6e 2e 0a |nd its v|ersion..|
|000040d0| 25 20 20 20 20 5c 62 65 | 67 69 6e 7b 6d 61 63 72 |% \be|gin{macr|
|000040e0| 6f 63 6f 64 65 7d 0a 5c | 50 72 6f 76 69 64 65 73 |ocode}.\|Provides|
|000040f0| 43 6c 61 73 73 7b 65 78 | 61 6d 7d 5b 5c 66 69 6c |Class{ex|am}[\fil|
|00004100| 65 64 61 74 65 5c 73 70 | 61 63 65 20 76 73 5c 66 |edate\sp|ace vs\f|
|00004110| 69 6c 65 76 65 72 73 69 | 6f 6e 5c 73 70 61 63 65 |ileversi|on\space|
|00004120| 20 45 78 61 6d 20 70 61 | 63 6b 61 67 65 5d 0a 25 | Exam pa|ckage].%|
|00004130| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|00004140| 64 65 7d 0a 25 0a 25 20 | 5c 44 65 73 63 72 69 62 |de}.%.% |\Describ|
|00004150| 65 4d 61 63 72 6f 7b 5c | 65 78 61 6d 65 72 72 6f |eMacro{\|examerro|
|00004160| 72 7d 0a 25 20 5c 44 65 | 73 63 72 69 62 65 4d 61 |r}.% \De|scribeMa|
|00004170| 63 72 6f 7b 5c 65 78 61 | 6d 77 61 72 6e 69 6e 67 |cro{\exa|mwarning|
|00004180| 7d 0a 25 20 44 65 66 69 | 6e 65 20 7c 5c 65 78 61 |}.% Defi|ne |\exa|
|00004190| 6d 65 72 72 6f 72 7c 20 | 61 6e 64 20 7c 5c 65 78 |merror| |and |\ex|
|000041a0| 61 6d 77 61 72 6e 69 6e | 67 7c 20 74 6f 20 69 73 |amwarnin|g| to is|
|000041b0| 73 75 65 20 61 20 70 72 | 6f 70 65 72 20 0a 25 20 |sue a pr|oper .% |
|000041c0| 7c 5c 43 6c 61 73 73 45 | 72 72 6f 72 7c 20 6f 72 ||\ClassE|rror| or|
|000041d0| 20 7c 5c 43 6c 61 73 73 | 57 61 72 6e 69 6e 67 7c | |\Class|Warning||
|000041e0| 20 69 6e 20 63 61 73 65 | 20 6f 66 20 65 72 72 6f | in case| of erro|
|000041f0| 72 73 2e 0a 25 20 4e 6f | 74 65 20 74 68 61 74 20 |rs..% No|te that |
|00004200| 74 68 65 20 65 72 72 6f | 72 20 6d 61 63 72 6f 20 |the erro|r macro |
|00004210| 70 72 6f 76 69 64 65 73 | 20 66 6f 72 20 61 20 68 |provides| for a h|
|00004220| 65 6c 70 20 74 65 78 74 | 20 69 6e 20 69 74 73 20 |elp text| in its |
|00004230| 0a 25 20 73 65 63 6f 6e | 64 20 61 72 67 75 6d 65 |.% secon|d argume|
|00004240| 6e 74 2e 0a 25 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |nt..% \b|egin{mac|
|00004250| 72 6f 7d 7b 5c 65 78 61 | 6d 65 72 72 6f 72 7d 0a |ro}{\exa|merror}.|
|00004260| 25 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 7d 7b |% \begin|{macro}{|
|00004270| 5c 65 78 61 6d 77 61 72 | 6e 69 6e 67 7d 0a 25 20 |\examwar|ning}.% |
|00004280| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|00004290| 6f 64 65 7d 0a 5c 6e 65 | 77 63 6f 6d 6d 61 6e 64 |ode}.\ne|wcommand|
|000042a0| 5c 65 78 61 6d 65 72 72 | 6f 72 5b 32 5d 7b 5c 43 |\examerr|or[2]{\C|
|000042b0| 6c 61 73 73 45 72 72 6f | 72 7b 65 78 61 6d 7d 7b |lassErro|r{exam}{|
|000042c0| 21 21 21 21 20 23 31 7d | 7b 23 32 7d 7d 0a 5c 6e |!!!! #1}|{#2}}.\n|
|000042d0| 65 77 63 6f 6d 6d 61 6e | 64 5c 65 78 61 6d 77 61 |ewcomman|d\examwa|
|000042e0| 72 6e 69 6e 67 5b 31 5d | 7b 5c 43 6c 61 73 73 57 |rning[1]|{\ClassW|
|000042f0| 61 72 6e 69 6e 67 7b 65 | 78 61 6d 7d 7b 21 21 21 |arning{e|xam}{!!!|
|00004300| 21 20 23 31 7d 7d 0a 25 | 20 20 20 20 5c 65 6e 64 |! #1}}.%| \end|
|00004310| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 20 5c 65 |{macroco|de}.% \e|
|00004320| 6e 64 7b 6d 61 63 72 6f | 7d 0a 25 20 5c 65 6e 64 |nd{macro|}.% \end|
|00004330| 7b 6d 61 63 72 6f 7d 0a | 25 0a 25 0a 25 20 5c 73 |{macro}.|%.%.% \s|
|00004340| 65 63 74 69 6f 6e 7b 44 | 65 63 6c 61 72 61 74 69 |ection{D|eclarati|
|00004350| 6f 6e 20 6f 66 20 43 6c | 61 73 73 20 4f 70 74 69 |on of Cl|ass Opti|
|00004360| 6f 6e 73 7d 0a 25 0a 25 | 20 20 20 20 49 6e 20 74 |ons}.%.%| In t|
|00004370| 68 69 73 20 70 61 72 74 | 20 77 65 20 64 65 66 69 |his part| we defi|
|00004380| 6e 65 20 74 68 65 20 6f | 70 74 69 6f 6e 73 20 66 |ne the o|ptions f|
|00004390| 6f 72 20 74 68 69 73 20 | 63 6c 61 73 73 20 74 68 |or this |class th|
|000043a0| 61 74 20 61 72 65 20 61 | 64 64 69 74 69 6f 6e 61 |at are a|dditiona|
|000043b0| 6c 0a 25 20 20 20 20 74 | 6f 20 74 68 6f 73 65 20 |l.% t|o those |
|000043c0| 6f 66 20 69 74 73 20 70 | 61 72 65 6e 74 20 63 6c |of its p|arent cl|
|000043d0| 61 73 73 2e 0a 25 20 57 | 65 20 73 68 6f 77 20 74 |ass..% W|e show t|
|000043e0| 68 65 6d 20 74 6f 20 74 | 68 65 20 75 73 65 72 20 |hem to t|he user |
|000043f0| 77 68 65 6e 20 74 68 65 | 20 68 65 6c 70 20 6f 70 |when the| help op|
|00004400| 74 69 6f 6e 20 69 73 20 | 63 68 6f 73 65 6e 2e 0a |tion is |chosen..|
|00004410| 25 0a 25 20 20 20 20 5c | 62 65 67 69 6e 7b 6d 61 |%.% \|begin{ma|
|00004420| 63 72 6f 63 6f 64 65 7d | 0a 5c 44 65 63 6c 61 72 |crocode}|.\Declar|
|00004430| 65 4f 70 74 69 6f 6e 7b | 68 65 6c 70 7d 7b 25 0a |eOption{|help}{%.|
|00004440| 20 20 20 20 5c 43 6c 61 | 73 73 57 61 72 6e 69 6e | \Cla|ssWarnin|
|00004450| 67 4e 6f 4c 69 6e 65 7b | 65 78 61 6d 7d 7b 61 76 |gNoLine{|exam}{av|
|00004460| 61 69 6c 61 62 6c 65 20 | 6f 70 74 69 6f 6e 73 20 |ailable |options |
|00004470| 61 72 65 3a 5c 4d 65 73 | 73 61 67 65 42 72 65 61 |are:\Mes|sageBrea|
|00004480| 6b 0a 20 20 20 20 61 6e | 73 77 65 72 73 3a 5c 73 |k. an|swers:\s|
|00004490| 70 61 63 65 20 73 68 6f | 77 20 71 75 65 73 74 69 |pace sho|w questi|
|000044a0| 6f 6e 73 20 77 69 74 68 | 20 61 6e 73 77 65 72 73 |ons with| answers|
|000044b0| 3b 5c 4d 65 73 73 61 67 | 65 42 72 65 61 6b 0a 20 |;\Messag|eBreak. |
|000044c0| 20 20 20 73 65 72 69 65 | 73 3a 5c 73 70 61 63 65 | serie|s:\space|
|000044d0| 5c 73 70 61 63 65 20 74 | 79 70 65 73 65 74 20 61 |\space t|ypeset a|
|000044e0| 20 63 61 74 61 6c 6f 67 | 75 65 20 6f 66 20 70 72 | catalog|ue of pr|
|000044f0| 6f 62 6c 65 6d 73 7d 7d | 0a 25 20 20 20 20 5c 65 |oblems}}|.% \e|
|00004500| 6e 64 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 25 0a |nd{macro|code}.%.|
|00004510| 25 20 5c 73 75 62 73 65 | 63 74 69 6f 6e 7b 53 77 |% \subse|ction{Sw|
|00004520| 69 74 63 68 69 6e 67 20 | 61 6e 73 77 65 72 73 20 |itching |answers |
|00004530| 6f 6e 20 61 6e 64 20 6f | 66 66 7d 0a 25 0a 25 20 |on and o|ff}.%.% |
|00004540| 54 68 65 20 66 6c 61 67 | 20 7c 5c 69 66 61 6e 73 |The flag| |\ifans|
|00004550| 77 65 72 73 7c 20 67 6f | 76 65 72 6e 73 20 74 68 |wers| go|verns th|
|00004560| 65 20 70 72 6f 64 75 63 | 74 69 6f 6e 20 6f 66 20 |e produc|tion of |
|00004570| 61 6e 73 77 65 72 73 20 | 69 6e 20 74 68 65 0a 25 |answers |in the.%|
|00004580| 20 74 79 70 65 73 65 74 | 74 69 6e 67 20 6f 66 20 | typeset|ting of |
|00004590| 70 72 6f 62 6c 65 6d 73 | 2e 20 57 69 74 68 20 74 |problems|. With t|
|000045a0| 68 65 20 7c 61 6e 73 77 | 65 72 73 7c 20 6f 70 74 |he |answ|ers| opt|
|000045b0| 69 6f 6e 73 20 69 6e 20 | 74 68 65 0a 25 20 6f 70 |ions in |the.% op|
|000045c0| 74 69 6f 6e 61 6c 20 61 | 72 67 75 6d 65 6e 74 20 |tional a|rgument |
|000045d0| 6f 66 20 74 68 65 20 64 | 6f 63 75 6d 65 6e 74 20 |of the d|ocument |
|000045e0| 63 6c 61 73 73 20 74 68 | 69 73 20 6f 70 74 69 6f |class th|is optio|
|000045f0| 6e 20 69 73 20 74 75 72 | 6e 65 64 20 6f 6e 2e 0a |n is tur|ned on..|
|00004600| 25 0a 25 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f |%.% \beg|in{macro|
|00004610| 7d 7b 5c 69 66 61 6e 73 | 77 65 72 73 7d 0a 25 20 |}{\ifans|wers}.% |
|00004620| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|00004630| 6f 64 65 7d 0a 5c 6e 65 | 77 69 66 5c 69 66 61 6e |ode}.\ne|wif\ifan|
|00004640| 73 77 65 72 73 0a 5c 44 | 65 63 6c 61 72 65 4f 70 |swers.\D|eclareOp|
|00004650| 74 69 6f 6e 7b 61 6e 73 | 77 65 72 73 7d 7b 5c 61 |tion{ans|wers}{\a|
|00004660| 6e 73 77 65 72 73 74 72 | 75 65 7d 0a 5c 41 74 42 |nswerstr|ue}.\AtB|
|00004670| 65 67 69 6e 44 6f 63 75 | 6d 65 6e 74 7b 5c 69 66 |eginDocu|ment{\if|
|00004680| 61 6e 73 77 65 72 73 5c | 43 6c 61 73 73 57 61 72 |answers\|ClassWar|
|00004690| 6e 69 6e 67 4e 6f 4c 69 | 6e 65 7b 65 78 61 6d 7d |ningNoLi|ne{exam}|
|000046a0| 7b 52 65 70 65 61 74 20 | 74 79 70 65 73 65 74 74 |{Repeat |typesett|
|000046b0| 69 6e 67 20 66 6f 72 20 | 25 0a 20 20 20 20 67 6f |ing for |%. go|
|000046c0| 6f 64 20 74 61 62 6c 65 | 20 6f 66 20 63 6f 6e 74 |od table| of cont|
|000046d0| 65 6e 74 73 7d 5c 66 69 | 7d 0a 25 20 20 20 20 5c |ents}\fi|}.% \|
|000046e0| 65 6e 64 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 25 |end{macr|ocode}.%|
|000046f0| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 7d 0a 25 0a 25 | \end{ma|cro}.%.%|
|00004700| 20 5c 73 75 62 73 65 63 | 74 69 6f 6e 7b 54 79 70 | \subsec|tion{Typ|
|00004710| 65 73 65 74 20 61 20 43 | 61 74 61 6c 6f 67 75 65 |eset a C|atalogue|
|00004720| 20 6f 66 20 50 72 6f 62 | 6c 65 6d 73 7d 0a 25 0a | of Prob|lems}.%.|
|00004730| 25 20 54 68 65 20 66 6c | 61 67 20 7c 5c 69 66 73 |% The fl|ag |\ifs|
|00004740| 65 72 69 65 73 7c 20 69 | 6e 69 74 69 61 74 65 73 |eries| i|nitiates|
|00004750| 20 74 68 65 20 70 72 6f | 64 75 63 74 69 6f 6e 20 | the pro|duction |
|00004760| 6f 66 20 61 20 70 72 6f | 62 6c 65 6d 20 63 61 74 |of a pro|blem cat|
|00004770| 61 6c 6f 67 75 65 2e 0a | 25 20 49 6e 20 6f 72 64 |alogue..|% In ord|
|00004780| 65 72 20 74 6f 20 73 68 | 6f 77 20 74 68 65 20 61 |er to sh|ow the a|
|00004790| 6e 73 77 65 72 73 20 74 | 6f 6f 2c 20 74 68 65 20 |nswers t|oo, the |
|000047a0| 7c 5c 69 66 61 6e 73 77 | 65 72 7c 20 66 6c 61 67 ||\ifansw|er| flag|
|000047b0| 20 69 73 20 73 65 74 2e | 0a 25 0a 25 20 5c 62 65 | is set.|.%.% \be|
|000047c0| 67 69 6e 7b 6d 61 63 72 | 6f 7d 7b 5c 69 66 73 65 |gin{macr|o}{\ifse|
|000047d0| 72 69 65 73 7d 0a 25 20 | 20 20 20 5c 62 65 67 69 |ries}.% | \begi|
|000047e0| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 6e 65 |n{macroc|ode}.\ne|
|000047f0| 77 69 66 5c 69 66 73 65 | 72 69 65 73 0a 5c 44 65 |wif\ifse|ries.\De|
|00004800| 63 6c 61 72 65 4f 70 74 | 69 6f 6e 7b 73 65 72 69 |clareOpt|ion{seri|
|00004810| 65 73 7d 7b 5c 73 65 72 | 69 65 73 74 72 75 65 5c |es}{\ser|iestrue\|
|00004820| 61 6e 73 77 65 72 73 74 | 72 75 65 7d 0a 25 20 20 |answerst|rue}.% |
|00004830| 20 20 5c 65 6e 64 7b 6d | 61 63 72 6f 63 6f 64 65 | \end{m|acrocode|
|00004840| 7d 0a 25 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 7d 0a |}.% \end|{macro}.|
|00004850| 25 0a 25 20 5c 73 65 63 | 74 69 6f 6e 7b 4c 6f 61 |%.% \sec|tion{Loa|
|00004860| 64 69 6e 67 20 6f 66 20 | 50 61 72 65 6e 74 20 43 |ding of |Parent C|
|00004870| 6c 61 73 73 7d 0a 25 0a | 25 20 5c 44 65 73 63 72 |lass}.%.|% \Descr|
|00004880| 69 62 65 4d 61 63 72 6f | 7b 5c 70 61 72 65 6e 74 |ibeMacro|{\parent|
|00004890| 63 6c 61 73 73 7d 0a 25 | 20 53 69 6e 63 65 20 74 |class}.%| Since t|
|000048a0| 68 65 20 5c 65 6d 70 68 | 7b 65 78 61 6d 20 63 6c |he \emph|{exam cl|
|000048b0| 61 73 73 7d 20 69 73 20 | 69 6d 70 6c 65 6d 65 6e |ass} is |implemen|
|000048c0| 74 65 64 20 61 73 20 61 | 20 6d 6f 64 69 66 69 63 |ted as a| modific|
|000048d0| 61 74 69 6f 6e 0a 25 20 | 6f 66 20 61 6e 20 65 78 |ation.% |of an ex|
|000048e0| 69 73 74 69 6e 67 20 64 | 6f 63 75 6d 65 6e 74 20 |isting d|ocument |
|000048f0| 63 6c 61 73 73 2c 20 77 | 65 20 6d 75 73 74 20 6c |class, w|e must l|
|00004900| 6f 61 64 20 74 68 65 20 | 70 61 72 65 6e 74 20 63 |oad the |parent c|
|00004910| 6c 61 73 73 2e 0a 25 20 | 49 6e 20 6f 72 64 65 72 |lass..% |In order|
|00004920| 20 74 6f 20 6d 61 6b 65 | 20 63 68 61 6e 67 65 73 | to make| changes|
|00004930| 20 69 6e 20 70 61 72 65 | 6e 74 20 63 6c 61 73 73 | in pare|nt class|
|00004940| 20 65 61 73 79 2c 20 74 | 68 65 0a 25 20 6e 61 6d | easy, t|he.% nam|
|00004950| 65 20 6f 66 20 74 68 69 | 73 20 63 6c 61 73 73 20 |e of thi|s class |
|00004960| 69 73 20 70 61 72 61 6d | 65 74 72 69 7a 65 64 20 |is param|etrized |
|00004970| 69 6e 20 6d 61 63 72 6f | 20 7c 5c 70 61 72 65 6e |in macro| |\paren|
|00004980| 74 63 6c 61 73 73 7c 2e | 0a 25 20 4f 62 76 69 6f |tclass|.|.% Obvio|
|00004990| 75 73 20 63 61 6e 64 69 | 64 61 74 65 73 20 61 72 |us candi|dates ar|
|000049a0| 65 20 5c 65 6d 70 68 7b | 61 72 74 69 63 6c 65 7d |e \emph{|article}|
|000049b0| 20 61 6e 64 20 5c 65 6d | 70 68 7b 72 65 70 6f 72 | and \em|ph{repor|
|000049c0| 74 7d 2e 0a 25 20 49 6e | 20 6f 72 64 65 72 20 74 |t}..% In| order t|
|000049d0| 6f 20 70 72 6f 76 69 64 | 65 20 73 6f 6d 65 20 66 |o provid|e some f|
|000049e0| 6c 65 78 69 62 69 6c 69 | 74 79 2c 20 77 65 20 61 |lexibili|ty, we a|
|000049f0| 6c 6c 6f 77 20 66 6f 72 | 20 74 68 65 20 63 61 73 |llow for| the cas|
|00004a00| 65 0a 25 20 74 68 61 74 | 20 74 68 65 20 75 73 65 |e.% that| the use|
|00004a10| 72 20 68 61 73 20 61 6c | 72 65 61 64 79 20 64 65 |r has al|ready de|
|00004a20| 66 69 6e 65 64 20 7c 5c | 70 61 72 65 6e 74 63 6c |fined |\|parentcl|
|00004a30| 61 73 73 7c 20 28 62 65 | 66 6f 72 65 0a 25 20 74 |ass| (be|fore.% t|
|00004a40| 68 65 20 63 61 6c 6c 20 | 74 6f 20 7c 5c 64 6f 63 |he call |to |\doc|
|00004a50| 75 6d 65 6e 74 63 6c 61 | 73 73 7c 2e 20 49 6e 20 |umentcla|ss|. In |
|00004a60| 74 68 61 74 20 63 61 73 | 65 20 77 65 20 72 65 66 |that cas|e we ref|
|00004a70| 72 61 69 6e 0a 25 20 66 | 72 6f 6d 20 72 65 64 65 |rain.% f|rom rede|
|00004a80| 66 69 6e 69 74 69 6f 6e | 2e 0a 25 0a 25 20 5c 62 |finition|..%.% \b|
|00004a90| 65 67 69 6e 7b 6d 61 63 | 72 6f 7d 7b 5c 70 61 72 |egin{mac|ro}{\par|
|00004aa0| 65 6e 74 63 6c 61 73 73 | 7d 0a 25 20 20 20 20 5c |entclass|}.% \|
|00004ab0| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 63 6f 64 65 7d |begin{ma|crocode}|
|00004ac0| 0a 5c 70 72 6f 76 69 64 | 65 63 6f 6d 6d 61 6e 64 |.\provid|ecommand|
|00004ad0| 5c 70 61 72 65 6e 74 63 | 6c 61 73 73 7b 61 72 74 |\parentc|lass{art|
|00004ae0| 69 63 6c 65 7d 0a 25 20 | 20 20 20 5c 65 6e 64 7b |icle}.% | \end{|
|00004af0| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 25 20 5c 65 6e |macrocod|e}.% \en|
|00004b00| 64 7b 6d 61 63 72 6f 7d | 0a 25 0a 25 20 54 68 65 |d{macro}|.%.% The|
|00004b10| 20 6f 70 74 69 6f 6e 73 | 20 6f 66 20 74 68 65 20 | options| of the |
|00004b20| 7c 5c 64 6f 63 75 6d 65 | 6e 74 63 6c 61 73 73 7c ||\docume|ntclass||
|00004b30| 20 63 61 6c 6c 20 77 68 | 69 63 68 20 61 72 65 20 | call wh|ich are |
|00004b40| 6e 6f 74 20 73 70 65 63 | 69 66 69 63 20 66 6f 72 |not spec|ific for|
|00004b50| 20 74 68 65 0a 25 20 5c | 65 6d 70 68 7b 65 78 61 | the.% \|emph{exa|
|00004b60| 6d 20 63 6c 61 73 73 7d | 20 6d 75 73 74 20 62 65 |m class}| must be|
|00004b70| 20 70 61 73 73 65 64 20 | 74 6f 20 74 68 65 20 70 | passed |to the p|
|00004b80| 61 72 65 6e 74 20 63 6c | 61 73 73 2e 0a 25 20 57 |arent cl|ass..% W|
|00004b90| 65 20 74 61 6b 65 20 74 | 68 65 20 6f 70 70 6f 72 |e take t|he oppor|
|00004ba0| 74 75 6e 69 74 79 20 74 | 6f 20 73 65 6c 65 63 74 |tunity t|o select|
|00004bb0| 20 74 68 65 20 70 72 6f | 64 75 63 74 69 6f 6e 20 | the pro|duction |
|00004bc0| 6f 66 20 61 20 74 69 74 | 6c 65 70 61 67 65 20 0a |of a tit|lepage .|
|00004bd0| 25 20 28 6e 6f 74 20 61 | 75 74 6f 6d 61 74 69 63 |% (not a|utomatic|
|00004be0| 61 6c 6c 79 20 61 64 64 | 65 64 20 69 66 20 74 68 |ally add|ed if th|
|00004bf0| 65 20 70 61 72 65 6e 74 | 20 63 6c 61 73 73 20 69 |e parent| class i|
|00004c00| 73 20 5c 65 6d 70 68 7b | 61 72 74 69 63 6c 65 7d |s \emph{|article}|
|00004c10| 2e 0a 25 20 41 66 74 65 | 72 20 74 68 69 73 20 77 |..% Afte|r this w|
|00004c20| 65 20 70 72 6f 63 65 73 | 73 20 74 68 65 20 6c 6f |e proces|s the lo|
|00004c30| 63 61 6c 20 6f 70 74 69 | 6f 6e 73 20 61 6e 64 20 |cal opti|ons and |
|00004c40| 6c 6f 61 64 20 74 68 65 | 20 70 61 72 65 6e 74 20 |load the| parent |
|00004c50| 63 6c 61 73 73 2e 0a 25 | 0a 25 20 20 20 20 5c 62 |class..%|.% \b|
|00004c60| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|00004c70| 5c 44 65 63 6c 61 72 65 | 4f 70 74 69 6f 6e 2a 7b |\Declare|Option*{|
|00004c80| 5c 50 61 73 73 4f 70 74 | 69 6f 6e 73 54 6f 43 6c |\PassOpt|ionsToCl|
|00004c90| 61 73 73 7b 5c 43 75 72 | 72 65 6e 74 4f 70 74 69 |ass{\Cur|rentOpti|
|00004ca0| 6f 6e 7d 7b 5c 70 61 72 | 65 6e 74 63 6c 61 73 73 |on}{\par|entclass|
|00004cb0| 7d 7d 0a 5c 50 61 73 73 | 4f 70 74 69 6f 6e 73 54 |}}.\Pass|OptionsT|
|00004cc0| 6f 43 6c 61 73 73 7b 74 | 69 74 6c 65 70 61 67 65 |oClass{t|itlepage|
|00004cd0| 7d 7b 5c 70 61 72 65 6e | 74 63 6c 61 73 73 7d 0a |}{\paren|tclass}.|
|00004ce0| 5c 50 72 6f 63 65 73 73 | 4f 70 74 69 6f 6e 73 0a |\Process|Options.|
|00004cf0| 5c 4c 6f 61 64 43 6c 61 | 73 73 7b 5c 70 61 72 65 |\LoadCla|ss{\pare|
|00004d00| 6e 74 63 6c 61 73 73 7d | 0a 25 20 20 20 20 5c 65 |ntclass}|.% \e|
|00004d10| 6e 64 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 25 0a |nd{macro|code}.%.|
|00004d20| 25 20 5c 73 75 62 73 65 | 63 74 69 6f 6e 7b 4c 6f |% \subse|ction{Lo|
|00004d30| 61 64 69 6e 67 20 41 64 | 64 69 74 69 6f 6e 61 6c |ading Ad|ditional|
|00004d40| 20 50 61 63 6b 61 67 65 | 73 7d 0a 25 0a 25 20 54 | Package|s}.%.% T|
|00004d50| 68 69 73 20 69 73 20 74 | 68 65 20 70 6c 61 63 65 |his is t|he place|
|00004d60| 20 77 68 65 72 65 20 61 | 64 64 69 74 69 6f 6e 61 | where a|dditiona|
|00004d70| 6c 20 70 61 63 6b 61 67 | 65 73 20 63 61 6e 20 62 |l packag|es can b|
|00004d80| 65 20 6c 6f 61 64 65 64 | 2e 0a 25 0a 25 20 5c 73 |e loaded|..%.% \s|
|00004d90| 65 63 74 69 6f 6e 7b 50 | 72 6f 64 75 63 65 20 61 |ection{P|roduce a|
|00004da0| 6e 20 45 78 61 6d 7d 0a | 25 0a 25 20 46 69 72 73 |n Exam}.|%.% Firs|
|00004db0| 74 20 77 65 20 6e 65 65 | 64 20 61 20 63 6f 75 6e |t we nee|d a coun|
|00004dc0| 74 65 72 20 66 6f 72 20 | 65 78 61 6d 73 2c 20 73 |ter for |exams, s|
|00004dd0| 69 6e 63 65 20 69 6e 20 | 6f 6e 65 20 72 75 6e 20 |ince in |one run |
|00004de0| 6d 6f 72 65 20 74 68 61 | 6e 0a 25 20 6f 6e 65 20 |more tha|n.% one |
|00004df0| 65 78 61 6d 20 63 61 6e | 20 62 65 20 70 72 6f 64 |exam can| be prod|
|00004e00| 75 63 65 64 2e 0a 25 20 | 42 79 20 73 74 65 70 70 |uced..% |By stepp|
|00004e10| 69 6e 67 20 74 68 69 73 | 20 63 6f 75 6e 74 65 72 |ing this| counter|
|00004e20| 20 77 65 20 77 69 6c 6c | 20 65 66 66 65 63 74 20 | we will| effect |
|00004e30| 74 68 65 20 61 75 74 6f | 6d 61 74 69 63 20 72 65 |the auto|matic re|
|00004e40| 73 65 74 20 6f 66 0a 25 | 20 74 68 65 20 63 6f 75 |set of.%| the cou|
|00004e50| 6e 74 65 72 20 74 68 61 | 74 20 6e 75 6d 62 65 72 |nter tha|t number|
|00004e60| 73 20 74 68 65 20 70 72 | 6f 62 6c 65 6d 73 20 61 |s the pr|oblems a|
|00004e70| 6e 64 20 0a 25 20 74 68 | 65 20 63 6f 75 6e 74 65 |nd .% th|e counte|
|00004e80| 72 20 74 68 61 74 20 72 | 65 6d 65 6d 62 65 72 73 |r that r|emembers|
|00004e90| 20 74 68 65 20 73 63 6f | 72 65 20 76 61 6c 75 65 | the sco|re value|
|00004ea0| 2e 0a 25 0a 25 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |..%.% \b|egin{mac|
|00004eb0| 72 6f 7d 7b 5c 65 78 61 | 6d 6e 75 6d 7d 0a 25 20 |ro}{\exa|mnum}.% |
|00004ec0| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|00004ed0| 6f 64 65 7d 0a 5c 6e 65 | 77 63 6f 75 6e 74 65 72 |ode}.\ne|wcounter|
|00004ee0| 7b 65 78 61 6d 6e 75 6d | 7d 0a 25 20 20 20 20 5c |{examnum|}.% \|
|00004ef0| 65 6e 64 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 25 |end{macr|ocode}.%|
|00004f00| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 7d 0a 25 0a 25 | \end{ma|cro}.%.%|
|00004f10| 20 5c 44 65 73 63 72 69 | 62 65 45 6e 76 7b 65 78 | \Descri|beEnv{ex|
|00004f20| 61 6d 7d 0a 25 20 45 78 | 61 6d 73 20 61 72 65 20 |am}.% Ex|ams are |
|00004f30| 70 72 6f 64 75 63 65 64 | 20 77 69 74 68 69 6e 20 |produced| within |
|00004f40| 74 68 65 20 7c 65 78 61 | 6d 7c 20 65 6e 76 69 72 |the |exa|m| envir|
|00004f50| 6f 6e 6d 65 6e 74 2e 20 | 54 68 69 73 20 65 6e 76 |onment. |This env|
|00004f60| 69 72 6f 6e 6d 65 6e 74 | 20 74 61 6b 65 73 0a 25 |ironment| takes.%|
|00004f70| 20 32 20 70 61 72 61 6d | 65 74 65 72 73 2e 20 54 | 2 param|eters. T|
|00004f80| 68 65 20 66 69 72 73 74 | 20 6f 6e 65 20 69 73 20 |he first| one is |
|00004f90| 6f 70 74 69 6f 6e 61 6c | 20 61 6e 64 20 70 72 6f |optional| and pro|
|00004fa0| 76 69 64 65 73 20 74 68 | 65 20 69 6e 69 74 69 61 |vides th|e initia|
|00004fb0| 6c 20 76 61 6c 75 65 0a | 25 20 6f 66 20 74 68 65 |l value.|% of the|
|00004fc0| 20 72 61 6e 64 6f 6d 20 | 67 65 6e 65 72 61 74 6f | random |generato|
|00004fd0| 72 2e 5c 66 6f 6f 74 6e | 6f 74 65 7b 4e 6f 74 20 |r.\footn|ote{Not |
|00004fe0| 75 73 65 64 20 77 68 65 | 6e 20 61 20 73 65 72 69 |used whe|n a seri|
|00004ff0| 65 73 0a 25 20 69 73 20 | 72 75 6e 2e 7d 20 54 68 |es.% is |run.} Th|
|00005000| 65 20 64 65 66 61 75 6c | 74 20 69 73 20 30 2c 20 |e defaul|t is 0, |
|00005010| 77 68 69 63 68 20 65 66 | 66 65 63 74 69 76 65 6c |which ef|fectivel|
|00005020| 79 20 73 68 75 74 73 20 | 6f 66 66 20 72 61 6e 64 |y shuts |off rand|
|00005030| 6f 6d 6e 65 73 73 2e 0a | 25 20 54 68 65 20 73 65 |omness..|% The se|
|00005040| 63 6f 6e 64 20 70 61 72 | 61 6d 65 74 65 72 20 6d |cond par|ameter m|
|00005050| 75 73 74 20 62 65 20 70 | 72 65 73 65 6e 74 2c 20 |ust be p|resent, |
|00005060| 62 75 74 20 63 61 6e 20 | 62 65 20 65 6d 70 74 79 |but can |be empty|
|00005070| 2e 0a 25 20 49 74 20 66 | 69 78 65 73 20 74 68 65 |..% It f|ixes the|
|00005080| 20 64 61 74 65 20 66 6f | 72 20 77 68 69 63 68 20 | date fo|r which |
|00005090| 74 68 65 20 65 78 61 6d | 20 69 73 20 70 6c 61 6e |the exam| is plan|
|000050a0| 6e 65 64 3b 20 61 6e 20 | 65 6d 70 74 79 20 61 72 |ned; an |empty ar|
|000050b0| 67 75 6d 65 6e 74 0a 25 | 20 66 69 6c 6c 73 20 69 |gument.%| fills i|
|000050c0| 6e 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 64 61 |n the cu|rrent da|
|000050d0| 74 65 2e 0a 25 0a 25 20 | 5c 62 65 67 69 6e 7b 65 |te..%.% |\begin{e|
|000050e0| 6e 76 69 72 6f 6e 6d 65 | 6e 74 7d 7b 65 78 61 6d |nvironme|nt}{exam|
|000050f0| 7d 0a 25 20 20 20 20 5c | 62 65 67 69 6e 7b 6d 61 |}.% \|begin{ma|
|00005100| 63 72 6f 63 6f 64 65 7d | 0a 5c 6e 65 77 65 6e 76 |crocode}|.\newenv|
|00005110| 69 72 6f 6e 6d 65 6e 74 | 7b 65 78 61 6d 7d 5b 32 |ironment|{exam}[2|
|00005120| 5d 5b 30 5d 7b 25 0a 20 | 20 5c 73 74 65 70 63 6f |][0]{%. | \stepco|
|00005130| 75 6e 74 65 72 7b 65 78 | 61 6d 6e 75 6d 7d 25 0a |unter{ex|amnum}%.|
|00005140| 20 20 5c 40 69 66 65 6d | 70 74 79 61 72 67 7b 23 | \@ifem|ptyarg{#|
|00005150| 32 7d 7b 7d 7b 5c 64 61 | 74 65 7b 23 32 7d 7d 25 |2}{}{\da|te{#2}}%|
|00005160| 0a 20 20 5c 69 66 73 65 | 72 69 65 73 5c 65 6c 73 |. \ifse|ries\els|
|00005170| 65 5c 69 66 61 6e 73 77 | 65 72 73 0a 20 20 20 20 |e\ifansw|ers. |
|00005180| 5c 61 64 64 63 6f 6e 74 | 65 6e 74 73 6c 69 6e 65 |\addcont|entsline|
|00005190| 7b 74 6f 63 7d 7b 73 65 | 63 74 69 6f 6e 7d 7b 5c |{toc}{se|ction}{\|
|000051a0| 45 78 61 6d 7e 5c 74 68 | 65 65 78 61 6d 6e 75 6d |Exam~\th|eexamnum|
|000051b0| 7e 2d 2d 2d 7e 5c 40 64 | 61 74 65 7d 25 0a 20 20 |~---~\@d|ate}%. |
|000051c0| 5c 66 69 5c 66 69 0a 25 | 20 20 20 20 5c 65 6e 64 |\fi\fi.%| \end|
|000051d0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 0a 25 20 |{macroco|de}.%.% |
|000051e0| 57 68 65 6e 20 61 6e 73 | 77 65 72 73 20 61 72 65 |When ans|wers are|
|000051f0| 20 72 65 71 75 65 73 74 | 65 64 20 77 65 20 73 74 | request|ed we st|
|00005200| 61 72 74 20 77 69 74 68 | 20 61 20 74 69 74 6c 65 |art with| a title|
|00005210| 70 61 67 65 5c 66 6f 6f | 74 6e 6f 74 65 7b 25 0a |page\foo|tnote{%.|
|00005220| 25 20 49 66 20 6e 6f 74 | 20 69 6e 68 69 62 69 74 |% If not| inhibit|
|00005230| 65 64 20 62 79 20 74 68 | 65 20 7c 6e 6f 74 69 74 |ed by th|e |notit|
|00005240| 6c 65 70 61 67 65 7c 20 | 6f 70 74 69 6f 6e 2e 7d |lepage| |option.}|
|00005250| 20 61 6e 64 0a 25 20 61 | 20 74 61 62 6c 65 20 6f | and.% a| table o|
|00005260| 66 20 63 6f 6e 74 65 6e | 74 73 2e 0a 25 20 49 6e |f conten|ts..% In|
|00005270| 20 74 68 65 20 63 61 73 | 65 20 6f 66 20 65 78 61 | the cas|e of exa|
|00005280| 6d 20 70 72 6f 64 75 63 | 74 69 6f 6e 2c 20 74 79 |m produc|tion, ty|
|00005290| 70 65 73 65 74 74 69 6e | 67 20 6f 66 20 74 68 65 |pesettin|g of the|
|000052a0| 20 74 69 74 6c 65 70 61 | 67 65 20 0a 25 20 69 73 | titlepa|ge .% is|
|000052b0| 20 64 65 66 65 72 72 65 | 64 20 74 6f 20 74 68 65 | deferre|d to the|
|000052c0| 20 65 6e 64 20 6f 66 20 | 74 68 65 20 65 78 61 6d | end of |the exam|
|000052d0| 2c 0a 25 20 73 6f 20 74 | 68 61 74 20 77 65 20 6d |,.% so t|hat we m|
|000052e0| 61 79 20 70 72 69 6e 74 | 20 6f 6e 20 69 74 20 74 |ay print| on it t|
|000052f0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 70 72 6f |he numbe|r of pro|
|00005300| 62 6c 65 6d 73 2e 0a 25 | 20 57 65 20 77 72 69 74 |blems..%| We writ|
|00005310| 65 20 61 20 66 65 77 20 | 6d 65 73 73 61 67 65 73 |e a few |messages|
|00005320| 20 74 6f 20 74 68 65 20 | 74 61 62 6c 65 20 6f 66 | to the |table of|
|00005330| 20 63 6f 6e 74 65 6e 74 | 73 20 28 64 61 74 65 20 | content|s (date |
|00005340| 61 6e 64 20 69 6e 69 74 | 69 61 6c 20 0a 25 20 76 |and init|ial .% v|
|00005350| 61 6c 75 65 20 6f 66 20 | 74 68 65 20 72 61 6e 64 |alue of |the rand|
|00005360| 6f 6d 20 67 65 6e 65 72 | 61 74 6f 72 29 20 77 68 |om gener|ator) wh|
|00005370| 65 6e 20 61 6e 20 65 78 | 61 6d 20 77 69 74 68 20 |en an ex|am with |
|00005380| 61 6e 73 77 65 72 73 20 | 0a 25 20 69 73 20 69 6e |answers |.% is in|
|00005390| 20 70 72 6f 64 75 63 74 | 69 6f 6e 2e 0a 25 0a 25 | product|ion..%.%|
|000053a0| 20 20 20 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f | \beg|in{macro|
|000053b0| 63 6f 64 65 7d 0a 20 20 | 20 20 5c 69 66 61 6e 73 |code}. | \ifans|
|000053c0| 77 65 72 73 0a 20 20 20 | 20 20 20 20 20 5c 70 61 |wers. | \pa|
|000053d0| 67 65 6e 75 6d 62 65 72 | 69 6e 67 7b 72 6f 6d 61 |genumber|ing{roma|
|000053e0| 6e 7d 25 0a 20 20 20 20 | 20 20 20 20 5c 6d 61 6b |n}%. | \mak|
|000053f0| 65 74 69 74 6c 65 5c 74 | 61 62 6c 65 6f 66 63 6f |etitle\t|ableofco|
|00005400| 6e 74 65 6e 74 73 5c 63 | 6c 65 61 72 64 6f 75 62 |ntents\c|leardoub|
|00005410| 6c 65 70 61 67 65 0a 20 | 20 20 20 5c 66 69 0a 20 |lepage. | \fi. |
|00005420| 20 20 20 5c 70 61 67 65 | 6e 75 6d 62 65 72 69 6e | \page|numberin|
|00005430| 67 7b 61 72 61 62 69 63 | 7d 25 0a 20 20 20 20 5c |g{arabic|}%. \|
|00005440| 69 66 73 65 72 69 65 73 | 5c 53 52 73 65 74 7b 30 |ifseries|\SRset{0|
|00005450| 7d 5c 65 6c 73 65 0a 20 | 20 20 20 20 20 20 20 5c |}\else. | \|
|00005460| 53 52 73 65 74 7b 23 31 | 7d 25 0a 20 20 20 20 20 |SRset{#1|}%. |
|00005470| 20 20 20 5c 61 64 64 63 | 6f 6e 74 65 6e 74 73 6c | \addc|ontentsl|
|00005480| 69 6e 65 7b 74 6f 63 7d | 7b 73 75 62 73 65 63 74 |ine{toc}|{subsect|
|00005490| 69 6f 6e 7d 7b 53 74 61 | 72 74 20 76 61 6c 75 65 |ion}{Sta|rt value|
|000054a0| 20 72 61 6e 64 6f 6d 20 | 67 65 6e 65 72 61 74 6f | random |generato|
|000054b0| 72 20 3d 20 23 31 7d 25 | 0a 20 20 20 20 5c 66 69 |r = #1}%|. \fi|
|000054c0| 0a 25 20 20 20 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |.% \e|nd{macro|
|000054d0| 63 6f 64 65 7d 0a 25 0a | 25 20 49 6e 20 65 61 63 |code}.%.|% In eac|
|000054e0| 68 20 73 65 70 61 72 61 | 74 65 20 65 78 61 6d 20 |h separa|te exam |
|000054f0| 74 68 65 20 66 69 72 73 | 74 20 70 61 67 65 20 67 |the firs|t page g|
|00005500| 65 74 73 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |ets the |number o|
|00005510| 6e 65 2e 0a 25 0a 25 20 | 20 20 20 5c 62 65 67 69 |ne..%.% | \begi|
|00005520| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 20 20 5c |n{macroc|ode}. \|
|00005530| 73 65 74 63 6f 75 6e 74 | 65 72 7b 70 61 67 65 7d |setcount|er{page}|
|00005540| 7b 31 7d 7d 25 0a 25 20 | 20 20 20 5c 65 6e 64 7b |{1}}%.% | \end{|
|00005550| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 25 0a 25 20 41 |macrocod|e}.%.% A|
|00005560| 74 20 74 68 65 20 65 6e | 64 20 6f 66 20 74 68 65 |t the en|d of the|
|00005570| 20 65 78 61 6d 20 70 72 | 6f 64 75 63 65 64 20 66 | exam pr|oduced f|
|00005580| 6f 72 20 74 68 65 20 73 | 74 75 64 65 6e 74 73 0a |or the s|tudents.|
|00005590| 25 20 61 20 74 69 74 6c | 65 70 61 67 65 20 69 73 |% a titl|epage is|
|000055a0| 20 70 72 6f 64 75 63 65 | 64 2e 20 49 66 20 61 6e | produce|d. If an|
|000055b0| 73 77 65 72 73 20 61 72 | 65 20 67 69 76 65 6e 20 |swers ar|e given |
|000055c0| 66 6f 72 20 61 6e 20 65 | 78 61 6d 0a 25 20 77 65 |for an e|xam.% we|
|000055d0| 20 70 72 6f 76 69 64 65 | 20 74 68 65 20 74 6f 74 | provide| the tot|
|000055e0| 61 6c 20 76 61 6c 75 65 | 20 6f 66 20 74 68 65 20 |al value| of the |
|000055f0| 73 63 6f 72 65 73 2e 0a | 25 0a 25 20 20 20 20 5c |scores..|%.% \|
|00005600| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 63 6f 64 65 7d |begin{ma|crocode}|
|00005610| 0a 20 20 7b 5c 69 66 73 | 65 72 69 65 73 5c 65 6c |. {\ifs|eries\el|
|00005620| 73 65 0a 20 20 20 20 5c | 74 79 70 65 6f 75 74 7b |se. \|typeout{|
|00005630| 54 6f 74 61 6c 20 76 61 | 6c 75 65 20 73 63 6f 72 |Total va|lue scor|
|00005640| 65 73 20 3d 20 5c 74 68 | 65 74 6f 74 61 6c 73 63 |es = \th|etotalsc|
|00005650| 6f 72 65 7d 25 0a 20 20 | 20 20 5c 69 66 61 6e 73 |ore}%. | \ifans|
|00005660| 77 65 72 73 0a 20 20 20 | 20 20 20 5c 61 64 64 63 |wers. | \addc|
|00005670| 6f 6e 74 65 6e 74 73 6c | 69 6e 65 7b 74 6f 63 7d |ontentsl|ine{toc}|
|00005680| 7b 73 75 62 73 65 63 74 | 69 6f 6e 7d 7b 54 6f 74 |{subsect|ion}{Tot|
|00005690| 61 6c 20 76 61 6c 75 65 | 20 73 63 6f 72 65 73 20 |al value| scores |
|000056a0| 3d 20 5c 74 68 65 74 6f | 74 61 6c 73 63 6f 72 65 |= \theto|talscore|
|000056b0| 7d 25 0a 20 20 20 20 5c | 65 6c 73 65 5c 6d 61 6b |}%. \|else\mak|
|000056c0| 65 74 69 74 6c 65 5c 66 | 69 5c 66 69 7d 0a 25 20 |etitle\f|i\fi}.% |
|000056d0| 20 20 20 5c 65 6e 64 7b | 6d 61 63 72 6f 63 6f 64 | \end{|macrocod|
|000056e0| 65 7d 0a 25 20 5c 65 6e | 64 7b 65 6e 76 69 72 6f |e}.% \en|d{enviro|
|000056f0| 6e 6d 65 6e 74 7d 0a 25 | 0a 25 20 5c 73 65 63 74 |nment}.%|.% \sect|
|00005700| 69 6f 6e 7b 43 68 6f 69 | 63 65 20 6f 66 20 50 72 |ion{Choi|ce of Pr|
|00005710| 6f 62 6c 65 6d 73 7d 0a | 25 0a 25 20 57 65 20 73 |oblems}.|%.% We s|
|00005720| 74 61 72 74 20 77 69 74 | 68 20 61 20 63 6f 75 6e |tart wit|h a coun|
|00005730| 74 65 72 20 7c 5c 70 72 | 6f 62 6c 65 6d 6e 75 6d |ter |\pr|oblemnum|
|00005740| 7c 20 77 69 74 68 20 77 | 68 69 63 68 20 74 68 65 || with w|hich the|
|00005750| 20 70 72 6f 62 6c 65 6d | 73 0a 25 20 6f 66 20 74 | problem|s.% of t|
|00005760| 68 65 20 65 78 61 6d 20 | 61 72 65 20 6e 65 61 74 |he exam |are neat|
|00005770| 6c 79 20 6e 75 6d 62 65 | 72 65 64 2e 20 54 68 69 |ly numbe|red. Thi|
|00005780| 73 20 63 6f 75 6e 74 65 | 72 20 69 73 20 61 75 74 |s counte|r is aut|
|00005790| 6f 6d 61 74 69 63 61 6c | 6c 79 0a 25 20 72 65 73 |omatical|ly.% res|
|000057a0| 65 74 20 65 61 63 68 20 | 74 69 6d 65 20 61 20 6e |et each |time a n|
|000057b0| 65 77 20 7c 65 78 61 6d | 7c 20 65 6e 76 69 72 6f |ew |exam|| enviro|
|000057c0| 6e 6d 65 6e 74 20 69 73 | 20 65 6e 74 65 72 65 64 |nment is| entered|
|000057d0| 2e 0a 25 20 41 20 74 65 | 78 74 75 61 6c 20 69 64 |..% A te|xtual id|
|000057e0| 65 6e 74 69 66 69 63 61 | 74 69 6f 6e 20 6f 66 20 |entifica|tion of |
|000057f0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 70 72 6f 62 |the curr|ent prob|
|00005800| 6c 65 6d 20 69 73 20 63 | 6f 6c 6c 65 63 74 65 64 |lem is c|ollected|
|00005810| 0a 25 20 69 6e 20 74 6f | 6b 65 6e 20 72 65 67 69 |.% in to|ken regi|
|00005820| 73 74 65 72 20 7c 5c 70 | 72 6f 62 6c 65 6d 69 64 |ster |\p|roblemid|
|00005830| 7c 2e 0a 25 0a 25 20 5c | 62 65 67 69 6e 7b 6d 61 ||..%.% \|begin{ma|
|00005840| 63 72 6f 7d 7b 5c 70 72 | 6f 62 6c 65 6d 6e 75 6d |cro}{\pr|oblemnum|
|00005850| 7d 0a 25 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f |}.% \beg|in{macro|
|00005860| 7d 7b 5c 70 72 6f 62 6c | 65 6d 69 64 7d 0a 25 20 |}{\probl|emid}.% |
|00005870| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|00005880| 6f 64 65 7d 0a 5c 6e 65 | 77 63 6f 75 6e 74 65 72 |ode}.\ne|wcounter|
|00005890| 7b 70 72 6f 62 6c 65 6d | 6e 75 6d 7d 5b 65 78 61 |{problem|num}[exa|
|000058a0| 6d 6e 75 6d 5d 0a 5c 6e | 65 77 74 6f 6b 73 5c 70 |mnum].\n|ewtoks\p|
|000058b0| 72 6f 62 6c 65 6d 69 64 | 0a 25 20 20 20 20 5c 65 |roblemid|.% \e|
|000058c0| 6e 64 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 25 20 |nd{macro|code}.% |
|000058d0| 5c 65 6e 64 7b 6d 61 63 | 72 6f 7d 0a 25 20 5c 65 |\end{mac|ro}.% \e|
|000058e0| 6e 64 7b 6d 61 63 72 6f | 7d 0a 25 0a 25 20 5c 44 |nd{macro|}.%.% \D|
|000058f0| 65 73 63 72 69 62 65 4d | 61 63 72 6f 7b 5c 71 75 |escribeM|acro{\qu|
|00005900| 65 73 74 69 6f 6e 7d 0a | 25 20 45 61 63 68 20 71 |estion}.|% Each q|
|00005910| 75 65 73 74 69 6f 6e 20 | 72 65 73 69 64 65 73 20 |uestion |resides |
|00005920| 69 6e 20 69 74 73 20 6f | 77 6e 20 66 69 6c 65 2c |in its o|wn file,|
|00005930| 20 77 68 69 63 68 20 69 | 73 20 63 61 6c 6c 65 64 | which i|s called|
|00005940| 20 75 70 0a 25 20 62 79 | 20 6d 61 63 72 6f 20 7c | up.% by| macro ||
|00005950| 5c 71 75 65 73 74 69 6f | 6e 7c 2e 20 4f 66 20 69 |\questio|n|. Of i|
|00005960| 74 73 20 74 68 72 65 65 | 20 70 61 72 61 6d 65 74 |ts three| paramet|
|00005970| 65 72 73 20 74 68 65 20 | 66 69 72 73 74 20 69 73 |ers the |first is|
|00005980| 0a 25 20 6f 70 74 69 6f | 6e 61 6c 20 61 6e 64 20 |.% optio|nal and |
|00005990| 70 72 6f 76 69 64 65 73 | 20 61 20 6d 65 61 6e 73 |provides| a means|
|000059a0| 20 6f 66 20 63 6f 6d 6d | 75 6e 69 63 61 74 69 6f | of comm|unicatio|
|000059b0| 6e 20 77 69 74 68 20 74 | 68 65 0a 25 20 70 72 6f |n with t|he.% pro|
|000059c0| 62 6c 65 6d 20 69 74 73 | 65 6c 66 2e 20 54 6f 20 |blem its|elf. To |
|000059d0| 61 63 68 69 65 76 65 20 | 74 68 69 73 20 74 68 65 |achieve |this the|
|000059e0| 20 66 69 72 73 74 20 0a | 25 20 61 72 67 75 6d 65 | first .|% argume|
|000059f0| 6e 74 20 6f 66 20 7c 5c | 71 75 65 73 74 69 6f 6e |nt of |\|question|
|00005a00| 7c 20 69 73 20 63 61 63 | 68 65 64 20 0a 25 20 69 || is cac|hed .% i|
|00005a10| 6e 20 6d 61 63 72 6f 20 | 7c 5c 70 61 72 61 6d 65 |n macro ||\parame|
|00005a20| 74 65 72 7c 2e 5c 66 6f | 6f 74 6e 6f 74 65 7b 41 |ter|.\fo|otnote{A|
|00005a30| 73 20 6d 6f 73 74 20 75 | 73 65 73 20 6f 66 20 74 |s most u|ses of t|
|00005a40| 68 69 73 20 6d 65 63 68 | 61 6e 69 73 6d 0a 25 20 |his mech|anism.% |
|00005a50| 62 6f 69 6c 20 64 6f 77 | 6e 20 74 6f 20 61 20 63 |boil dow|n to a c|
|00005a60| 68 6f 69 63 65 20 62 65 | 74 77 65 65 6e 20 73 65 |hoice be|tween se|
|00005a70| 76 65 72 61 6c 20 61 6c | 74 65 72 6e 61 74 69 76 |veral al|ternativ|
|00005a80| 65 73 2c 20 74 68 65 0a | 25 20 6e 75 6d 62 65 72 |es, the.|% number|
|00005a90| 7e 31 20 69 73 20 70 72 | 6f 76 69 64 65 64 20 62 |~1 is pr|ovided b|
|00005aa0| 79 20 6d 61 63 72 6f 20 | 7b 5c 74 74 66 61 6d 69 |y macro |{\ttfami|
|00005ab0| 6c 79 5c 70 72 6f 74 65 | 63 74 5c 62 73 6c 61 73 |ly\prote|ct\bslas|
|00005ac0| 68 20 70 61 72 61 6d 65 | 74 65 72 70 72 6f 62 6c |h parame|terprobl|
|00005ad0| 65 6d 7d 0a 25 20 61 73 | 20 61 20 63 6f 6e 76 65 |em}.% as| a conve|
|00005ae0| 6e 69 65 6e 74 20 64 65 | 66 61 75 6c 74 20 76 61 |nient de|fault va|
|00005af0| 6c 75 65 2e 20 53 65 65 | 20 61 6c 73 6f 20 74 68 |lue. See| also th|
|00005b00| 65 20 64 69 73 63 75 73 | 73 69 6f 6e 0a 25 20 75 |e discus|sion.% u|
|00005b10| 6e 64 65 72 20 74 68 65 | 20 68 65 61 64 69 6e 67 |nder the| heading|
|00005b20| 20 60 60 50 61 72 61 6d | 65 74 72 69 7a 65 64 20 | ``Param|etrized |
|00005b30| 50 72 6f 62 6c 65 6d 73 | 27 27 2e 7d 0a 25 20 54 |Problems|''.}.% T|
|00005b40| 68 65 20 64 65 66 61 75 | 6c 74 20 62 65 68 61 76 |he defau|lt behav|
|00005b50| 69 6f 75 72 20 68 65 72 | 65 20 69 73 20 6e 6f 74 |iour her|e is not|
|00005b60| 20 74 6f 75 63 68 69 6e | 67 20 74 68 65 0a 25 20 | touchin|g the.% |
|00005b70| 74 68 65 20 64 65 66 69 | 6e 69 74 69 6f 6e 20 6f |the defi|nition o|
|00005b80| 66 20 7c 5c 70 61 72 61 | 6d 65 74 65 72 7c 20 69 |f |\para|meter| i|
|00005b90| 6e 20 63 61 73 65 20 6f | 66 20 61 6e 20 65 6d 70 |n case o|f an emp|
|00005ba0| 74 79 20 61 72 67 75 6d | 65 6e 74 3b 0a 25 20 69 |ty argum|ent;.% i|
|00005bb0| 6e 20 6d 61 6e 79 20 63 | 61 73 65 73 20 61 20 66 |n many c|ases a f|
|00005bc0| 6f 72 67 6f 74 74 65 6e | 20 61 72 67 75 6d 65 6e |orgotten| argumen|
|00005bd0| 74 20 77 69 6c 6c 20 74 | 68 65 6e 20 6c 65 61 64 |t will t|hen lead|
|00005be0| 20 74 6f 0a 25 20 61 20 | 60 60 6d 69 73 73 69 6e | to.% a |``missin|
|00005bf0| 67 20 73 6f 6d 65 74 68 | 69 6e 67 27 27 20 65 72 |g someth|ing'' er|
|00005c00| 72 6f 72 2e 20 54 68 65 | 20 62 65 6e 65 66 69 74 |ror. The| benefit|
|00005c10| 20 6f 66 20 6e 6f 74 0a | 25 20 74 6f 75 63 68 69 | of not.|% touchi|
|00005c20| 6e 67 20 7c 5c 70 61 72 | 61 6d 65 74 65 72 7c 20 |ng |\par|ameter| |
|00005c30| 69 6e 20 63 61 73 65 20 | 6f 66 20 61 6e 20 65 6d |in case |of an em|
|00005c40| 70 74 79 20 61 72 67 75 | 6d 65 6e 74 0a 25 20 69 |pty argu|ment.% i|
|00005c50| 73 20 74 68 61 74 20 74 | 68 69 73 20 6d 61 63 72 |s that t|his macr|
|00005c60| 6f 20 6e 6f 77 20 61 6c | 73 6f 20 63 61 6e 20 62 |o now al|so can b|
|00005c70| 65 20 69 6e 69 74 69 61 | 6c 69 7a 65 64 20 62 79 |e initia|lized by|
|00005c80| 0a 25 20 6f 74 68 65 72 | 20 6d 65 61 6e 73 2c 20 |.% other| means, |
|00005c90| 65 2e 67 2e 20 62 79 20 | 64 65 66 69 6e 69 74 69 |e.g. by |definiti|
|00005ca0| 6f 6e 20 65 61 72 6c 69 | 65 72 20 69 6e 20 74 68 |on earli|er in th|
|00005cb0| 65 20 70 72 6f 62 6c 65 | 6d 20 63 6f 64 69 6e 67 |e proble|m coding|
|00005cc0| 2e 0a 25 0a 25 20 54 68 | 65 20 73 65 63 6f 6e 64 |..%.% Th|e second|
|00005cd0| 20 70 61 72 61 6d 65 74 | 65 72 20 6f 66 20 7c 5c | paramet|er of |\|
|00005ce0| 71 75 65 73 74 69 6f 6e | 7c 20 69 73 20 74 68 65 |question|| is the|
|00005cf0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 28 73 75 | name of| the (su|
|00005d00| 62 29 64 69 72 65 63 74 | 6f 72 79 0a 25 20 77 68 |b)direct|ory.% wh|
|00005d10| 65 72 65 20 74 68 65 20 | 66 69 6c 65 20 6e 61 6d |ere the |file nam|
|00005d20| 65 64 20 69 6e 20 74 68 | 65 20 74 68 69 72 64 20 |ed in th|e third |
|00005d30| 70 61 72 61 6d 65 74 65 | 72 20 63 61 6e 20 62 65 |paramete|r can be|
|00005d40| 20 66 6f 75 6e 64 2e 0a | 25 20 54 68 69 73 20 73 | found..|% This s|
|00005d50| 65 63 6f 6e 64 20 70 61 | 72 61 6d 65 74 65 72 20 |econd pa|rameter |
|00005d60| 64 6f 75 62 6c 65 73 20 | 75 70 20 61 73 20 73 65 |doubles |up as se|
|00005d70| 63 74 69 6f 6e 20 6e 61 | 6d 65 20 69 6e 20 74 68 |ction na|me in th|
|00005d80| 65 0a 25 20 73 65 72 69 | 65 73 20 70 72 6f 64 75 |e.% seri|es produ|
|00005d90| 63 74 69 6f 6e 2e 5c 66 | 6f 6f 74 6e 6f 74 65 7b |ction.\f|ootnote{|
|00005da0| 49 74 20 69 73 20 73 69 | 6c 65 6e 74 6c 79 20 61 |It is si|lently a|
|00005db0| 73 73 75 6d 65 64 0a 25 | 20 74 68 61 74 20 61 6c |ssumed.%| that al|
|00005dc0| 6c 20 70 72 6f 62 6c 65 | 6d 73 20 6f 66 20 61 20 |l proble|ms of a |
|00005dd0| 67 69 76 65 6e 20 63 61 | 74 65 67 6f 72 79 20 72 |given ca|tegory r|
|00005de0| 65 73 69 64 65 20 69 6e | 20 61 20 63 6f 6d 6d 6f |eside in| a commo|
|00005df0| 6e 0a 25 20 64 69 72 65 | 63 74 6f 72 79 2e 7d 0a |n.% dire|ctory.}.|
|00005e00| 25 0a 25 20 5c 62 65 67 | 69 6e 7b 6d 61 63 72 6f |%.% \beg|in{macro|
|00005e10| 7d 7b 5c 71 75 65 73 74 | 69 6f 6e 7d 0a 25 20 20 |}{\quest|ion}.% |
|00005e20| 20 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 63 6f | \begin|{macroco|
|00005e30| 64 65 7d 0a 5c 6e 65 77 | 63 6f 6d 6d 61 6e 64 5c |de}.\new|command\|
|00005e40| 71 75 65 73 74 69 6f 6e | 5b 33 5d 5b 5d 7b 25 0a |question|[3][]{%.|
|00005e50| 20 20 5c 40 69 66 65 6d | 70 74 79 61 72 67 7b 23 | \@ifem|ptyarg{#|
|00005e60| 31 7d 7b 7d 7b 5c 72 65 | 6e 65 77 63 6f 6d 6d 61 |1}{}{\re|newcomma|
|00005e70| 6e 64 5c 70 61 72 61 6d | 65 74 65 72 7b 23 31 7d |nd\param|eter{#1}|
|00005e80| 7d 25 0a 25 20 20 20 20 | 5c 65 6e 64 7b 6d 61 63 |}%.% |\end{mac|
|00005e90| 72 6f 63 6f 64 65 7d 0a | 25 0a 25 20 57 68 65 6e |rocode}.|%.% When|
|00005ea0| 20 61 20 73 65 72 69 65 | 73 20 69 73 20 72 75 6e | a serie|s is run|
|00005eb0| 20 77 65 20 6c 6f 6f 6b | 20 66 6f 72 20 74 68 65 | we look| for the|
|00005ec0| 20 73 74 61 72 74 20 6f | 66 20 61 20 6e 65 77 20 | start o|f a new |
|00005ed0| 73 65 63 74 69 6f 6e 20 | 61 6e 64 0a 25 20 70 65 |section |and.% pe|
|00005ee0| 72 66 6f 72 6d 20 74 68 | 65 20 61 70 70 72 6f 70 |rform th|e approp|
|00005ef0| 72 69 61 74 65 20 61 63 | 74 69 6f 6e 73 20 69 66 |riate ac|tions if|
|00005f00| 20 69 6e 64 65 65 64 20 | 61 20 6e 65 77 20 73 65 | indeed |a new se|
|00005f10| 63 74 69 6f 6e 20 69 73 | 20 66 6f 75 6e 64 2e 0a |ction is| found..|
|00005f20| 25 20 49 2e 65 2e 5c 20 | 65 6a 65 63 74 20 74 68 |% I.e.\ |eject th|
|00005f30| 65 20 70 61 67 65 20 61 | 6e 64 20 74 68 65 6e 20 |e page a|nd then |
|00005f40| 72 65 73 65 74 20 74 68 | 65 20 73 65 63 74 69 6f |reset th|e sectio|
|00005f50| 6e 20 6e 61 6d 65 20 0a | 25 20 61 6e 64 20 74 68 |n name .|% and th|
|00005f60| 65 20 70 72 6f 62 6c 65 | 6d 20 63 6f 75 6e 74 65 |e proble|m counte|
|00005f70| 72 2e 0a 25 20 4e 6f 74 | 65 20 74 68 65 20 75 73 |r..% Not|e the us|
|00005f80| 65 20 6f 66 20 75 70 70 | 65 72 63 61 73 65 20 69 |e of upp|ercase i|
|00005f90| 6e 20 6f 72 64 65 72 20 | 74 6f 20 73 6d 6f 6f 74 |n order |to smoot|
|00005fa0| 68 20 6f 75 74 20 64 69 | 66 66 65 72 65 6e 63 65 |h out di|fference|
|00005fb0| 73 0a 25 20 69 6e 20 74 | 79 70 69 6e 67 2e 0a 25 |s.% in t|yping..%|
|00005fc0| 20 54 68 65 20 69 64 65 | 6e 74 69 66 69 63 61 74 | The ide|ntificat|
|00005fd0| 69 6f 6e 20 6f 66 20 74 | 68 65 20 70 72 6f 62 6c |ion of t|he probl|
|00005fe0| 65 6d 20 69 73 20 73 65 | 74 20 74 6f 20 69 74 73 |em is se|t to its|
|00005ff0| 20 66 69 6c 65 20 6e 61 | 6d 65 20 61 6e 64 2c 0a | file na|me and,.|
|00006000| 25 20 69 6e 20 74 68 65 | 20 63 61 73 65 20 6f 66 |% in the| case of|
|00006010| 20 61 20 73 65 72 69 65 | 73 2c 20 69 73 20 6d 65 | a serie|s, is me|
|00006020| 6e 74 69 6f 6e 65 64 20 | 69 6e 20 74 68 65 20 6f |ntioned |in the o|
|00006030| 75 74 70 75 74 2e 0a 25 | 20 54 68 65 6e 20 74 68 |utput..%| Then th|
|00006040| 65 20 70 72 6f 62 6c 65 | 6d 20 6e 75 6d 62 65 72 |e proble|m number|
|00006050| 20 69 73 20 69 6e 63 72 | 65 6d 65 6e 74 65 64 2e | is incr|emented.|
|00006060| 20 0a 25 0a 25 20 20 20 | 20 5c 62 65 67 69 6e 7b | .%.% | \begin{|
|00006070| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 20 20 5c 69 66 |macrocod|e}. \if|
|00006080| 73 65 72 69 65 73 0a 20 | 20 20 20 5c 75 70 70 65 |series. | \uppe|
|00006090| 72 63 61 73 65 7b 5c 64 | 65 66 5c 40 6e 61 6d 65 |rcase{\d|ef\@name|
|000060a0| 73 65 63 74 69 6f 6e 7b | 23 32 7d 7d 25 0a 20 20 |section{|#2}}%. |
|000060b0| 20 20 5c 69 66 78 5c 6e | 61 6d 65 73 65 63 74 69 | \ifx\n|amesecti|
|000060c0| 6f 6e 5c 40 6e 61 6d 65 | 73 65 63 74 69 6f 6e 0a |on\@name|section.|
|000060d0| 20 20 20 20 5c 65 6c 73 | 65 0a 20 20 20 20 20 20 | \els|e. |
|000060e0| 5c 6e 65 77 70 61 67 65 | 0a 20 20 20 20 20 20 5c |\newpage|. \|
|000060f0| 67 6c 6f 62 61 6c 5c 6c | 65 74 5c 6e 61 6d 65 73 |global\l|et\names|
|00006100| 65 63 74 69 6f 6e 3d 5c | 40 6e 61 6d 65 73 65 63 |ection=\|@namesec|
|00006110| 74 69 6f 6e 0a 20 20 20 | 20 20 20 5c 61 64 64 63 |tion. | \addc|
|00006120| 6f 6e 74 65 6e 74 73 6c | 69 6e 65 7b 74 6f 63 7d |ontentsl|ine{toc}|
|00006130| 7b 73 75 62 73 65 63 74 | 69 6f 6e 7d 7b 5c 6e 61 |{subsect|ion}{\na|
|00006140| 6d 65 73 65 63 74 69 6f | 6e 7d 25 0a 20 20 20 20 |mesectio|n}%. |
|00006150| 20 20 5c 73 65 74 63 6f | 75 6e 74 65 72 7b 70 72 | \setco|unter{pr|
|00006160| 6f 62 6c 65 6d 6e 75 6d | 7d 7b 30 7d 25 0a 20 20 |oblemnum|}{0}%. |
|00006170| 20 20 5c 66 69 20 20 20 | 0a 20 20 5c 66 69 0a 20 | \fi |. \fi. |
|00006180| 20 5c 70 72 6f 62 6c 65 | 6d 69 64 3d 7b 5c 75 70 | \proble|mid={\up|
|00006190| 70 65 72 63 61 73 65 7b | 23 33 7d 7d 25 0a 20 20 |percase{|#3}}%. |
|000061a0| 5c 69 66 73 65 72 69 65 | 73 0a 20 20 20 20 5c 6e |\ifserie|s. \n|
|000061b0| 6f 69 6e 64 65 6e 74 5c | 75 6e 64 65 72 62 61 72 |oindent\|underbar|
|000061c0| 7b 5c 65 6d 70 68 7b 46 | 69 6c 65 5c 2c 3a 7d 7e |{\emph{F|ile\,:}~|
|000061d0| 5c 74 65 78 74 74 74 7b | 5c 74 68 65 5c 70 72 6f |\texttt{|\the\pro|
|000061e0| 62 6c 65 6d 69 64 7d 7d | 5c 70 61 72 0a 20 20 20 |blemid}}|\par. |
|000061f0| 20 5c 6e 6f 70 61 67 65 | 62 72 65 61 6b 5c 6d 65 | \nopage|break\me|
|00006200| 64 73 6b 69 70 5c 6e 6f | 70 61 67 65 62 72 65 61 |dskip\no|pagebrea|
|00006210| 6b 0a 20 20 5c 66 69 0a | 20 20 5c 73 74 65 70 63 |k. \fi.| \stepc|
|00006220| 6f 75 6e 74 65 72 7b 70 | 72 6f 62 6c 65 6d 6e 75 |ounter{p|roblemnu|
|00006230| 6d 7d 25 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |m}%.% | \end{ma|
|00006240| 63 72 6f 63 6f 64 65 7d | 0a 25 0a 25 20 52 65 61 |crocode}|.%.% Rea|
|00006250| 64 69 6e 67 20 6f 66 20 | 74 68 65 20 70 72 6f 62 |ding of |the prob|
|00006260| 6c 65 6d 20 69 74 73 65 | 6c 66 20 69 73 20 73 75 |lem itse|lf is su|
|00006270| 72 72 6f 75 6e 64 65 64 | 20 62 79 20 63 61 6c 63 |rrounded| by calc|
|00006280| 75 6c 61 74 69 6f 6e 73 | 0a 25 20 6f 6e 20 74 68 |ulations|.% on th|
|00006290| 65 20 73 63 6f 72 65 20 | 74 68 61 74 20 74 68 69 |e score |that thi|
|000062a0| 73 20 71 75 65 73 74 69 | 6f 6e 20 77 69 6c 6c 20 |s questi|on will |
|000062b0| 62 72 69 6e 67 2e 0a 25 | 20 53 63 6f 72 65 73 20 |bring..%| Scores |
|000062c0| 61 72 65 20 6d 65 6e 74 | 69 6f 6e 65 64 20 6f 6e |are ment|ioned on|
|000062d0| 20 74 68 65 20 63 6f 6e | 73 6f 6c 65 20 65 78 63 | the con|sole exc|
|000062e0| 65 70 74 20 77 68 65 6e | 20 61 20 73 65 72 69 65 |ept when| a serie|
|000062f0| 73 20 69 73 20 72 75 6e | 2e 0a 25 20 49 6e 20 61 |s is run|..% In a|
|00006300| 20 70 72 6f 62 6c 65 6d | 20 61 6c 6c 20 63 6f 6e | problem| all con|
|00006310| 74 72 69 62 75 74 69 6f | 6e 73 20 66 72 6f 6d 20 |tributio|ns from |
|00006320| 74 68 65 20 76 61 72 69 | 6f 75 73 20 70 61 72 74 |the vari|ous part|
|00006330| 73 20 6f 66 20 74 68 65 | 0a 25 20 70 72 6f 62 6c |s of the|.% probl|
|00006340| 65 6d 20 61 72 65 20 63 | 6f 6c 6c 65 63 74 65 64 |em are c|ollected|
|00006350| 20 69 6e 20 63 6f 75 6e | 74 65 72 20 7c 73 63 6f | in coun|ter |sco|
|00006360| 72 65 63 6f 75 6e 74 65 | 72 7c 2e 0a 25 20 41 74 |recounte|r|..% At|
|00006370| 20 74 68 65 20 65 6e 64 | 20 6f 66 20 74 68 65 20 | the end| of the |
|00006380| 70 72 6f 62 6c 65 6d 20 | 7c 74 6f 74 61 6c 73 63 |problem ||totalsc|
|00006390| 6f 72 65 7c 20 69 73 20 | 0a 25 20 75 70 64 61 74 |ore| is |.% updat|
|000063a0| 65 64 20 77 69 74 68 20 | 74 68 69 73 20 76 61 6c |ed with |this val|
|000063b0| 75 65 2e 5c 66 6f 6f 74 | 6e 6f 74 65 7b 25 0a 25 |ue.\foot|note{%.%|
|000063c0| 20 4e 6f 74 65 20 74 68 | 65 20 72 65 73 65 74 73 | Note th|e resets|
|000063d0| 20 66 6f 72 20 7c 74 6f | 74 61 6c 73 63 6f 72 65 | for |to|talscore|
|000063e0| 7c 20 77 69 74 68 20 7c | 65 78 61 6d 6e 75 6d 7c || with ||examnum||
|000063f0| 0a 25 20 61 6e 64 20 7c | 73 63 6f 72 65 63 6f 75 |.% and ||scorecou|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.